|
@@ -207,7 +207,6 @@ func BulletinList(uid, companyId int64, request *protocol.BulletinListRequest) ( |
|
@@ -207,7 +207,6 @@ func BulletinList(uid, companyId int64, request *protocol.BulletinListRequest) ( |
207
|
if request.PageSize == 0 {
|
207
|
if request.PageSize == 0 {
|
208
|
request.PageSize = 20
|
208
|
request.PageSize = 20
|
209
|
}
|
209
|
}
|
210
|
- rsp = &protocol.BulletinListResponse{}
|
|
|
211
|
if list, total, err = models.GetBulletins(companyId, request.Status, (request.PageIndex-1)*request.PageSize, request.PageSize); err != nil {
|
210
|
if list, total, err = models.GetBulletins(companyId, request.Status, (request.PageIndex-1)*request.PageSize, request.PageSize); err != nil {
|
212
|
log.Error(err.Error())
|
211
|
log.Error(err.Error())
|
213
|
return
|
212
|
return
|