This commit is contained in:
hailin 2025-06-19 12:46:29 +08:00
parent d350fb0057
commit 996b52002f
1 changed files with 2 additions and 1 deletions

View File

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