This commit is contained in:
parent
fa534ddcd3
commit
681a1607c6
|
|
@ -490,7 +490,8 @@ func (dao *NewsDAO) QueryPullNew(cond *NewsPullNewCondition) (dos []*models.News
|
|||
}
|
||||
_, total, err = e.QueryEx()
|
||||
if err != nil {
|
||||
return nil, 0, log.Errorf(err.Error())
|
||||
log.Errorf("QueryPullNew failed: %v", err)
|
||||
return nil, 0, err
|
||||
}
|
||||
|
||||
log.Infof(".................[DEBUG] QueryPullNew 返回数据: %+v", dos)
|
||||
|
|
|
|||
|
|
@ -295,6 +295,7 @@ type NewsAsyncResp struct {
|
|||
|
||||
type NewsPullNewReq struct {
|
||||
OrgIDs []int64 `json:"org_ids"`
|
||||
Digest string `json:"digest"`
|
||||
}
|
||||
|
||||
type NewsPullNewResp struct {
|
||||
|
|
|
|||
Loading…
Reference in New Issue