This commit is contained in:
parent
d350fb0057
commit
996b52002f
|
|
@ -566,7 +566,8 @@ func (m *Controller) NewsPullNew(c *gin.Context) {
|
|||
if ctx != nil {
|
||||
ok = m.CheckPrivilege(c, ctx, privilege.NewsAccess)
|
||||
}
|
||||
resp, total, code := m.BizCore.NewsPullNew(ctx, &req, ok)
|
||||
ok = ok
|
||||
resp, total, code := m.BizCore.NewsPullNew(ctx, &req)
|
||||
if !code.Ok() {
|
||||
m.Error(c, code)
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue