This commit is contained in:
hailin 2025-06-20 16:01:03 +08:00
parent fa534ddcd3
commit 681a1607c6
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -295,6 +295,7 @@ type NewsAsyncResp struct {
type NewsPullNewReq struct {
OrgIDs []int64 `json:"org_ids"`
Digest string `json:"digest"`
}
type NewsPullNewResp struct {