This commit is contained in:
laodaming
2023-06-16 14:52:45 +08:00
parent 3d7eef18d0
commit 68c431bda2
16 changed files with 150 additions and 114 deletions

View File

@@ -33,7 +33,7 @@ func (l *UserGetTypeLogic) UserGetType(req *types.Request, userinfo *auth.UserIn
}
// 返回值必须调用Set重新返回, resp可以空指针调用 resp.SetStatus(basic.CodeOK, data)
data, err := gmodel.NewFsCanteenTypeModel(l.svcCtx.MysqlConn).FindAllGetType(l.ctx, userinfo.UserId)
data, err := gmodel.NewFsCanteenTypeModel(l.svcCtx.MysqlConn).FindAllGetType(l.ctx)
if err != nil {
logx.Error(err)
return