mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 10:12:59 +00:00
权限判断完善
This commit is contained in:
@@ -121,7 +121,7 @@ func SelectListByPage(req *SelectPageReq) (total, page int, list []*Entity, err
|
||||
model = model.Where("config_name like ?", "%"+req.ConfigName+"%")
|
||||
}
|
||||
if req.ConfigType != "" {
|
||||
model = model.Where("status = ", gconv.Int(req.ConfigType))
|
||||
model = model.Where("config_type = ", gconv.Int(req.ConfigType))
|
||||
}
|
||||
if req.ConfigKey != "" {
|
||||
model = model.Where("config_key like ?", "%"+req.ConfigKey+"%")
|
||||
|
||||
Reference in New Issue
Block a user