|
@@ -312,13 +312,11 @@ func (this *PowerService) Power(userid string, baseUserId, accountId, entId, pos
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//文库
|
|
//文库
|
|
- if common.Int64All((*eudata)["i_doc_status"]) > 0 {
|
|
|
|
- docs = &entity.Docs{
|
|
|
|
- DocStatus: common.Int64All((*data)["i_doc_status"]),
|
|
|
|
- StartDate: common.Int64All((*data)["l_doc_starttime"]),
|
|
|
|
- EndDate: common.Int64All((*data)["l_doc_endtime"]),
|
|
|
|
- FreeDownload: common.Int64All((*data)["i_doc_free_download"]),
|
|
|
|
- }
|
|
|
|
|
|
+ docs = &entity.Docs{
|
|
|
|
+ DocStatus: common.Int64All((*data)["i_doc_status"]),
|
|
|
|
+ StartDate: common.Int64All((*data)["l_doc_starttime"]),
|
|
|
|
+ EndDate: common.Int64All((*data)["l_doc_endtime"]),
|
|
|
|
+ FreeDownload: common.Int64All((*data)["i_doc_free_download"]),
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|