feat:完善项目

This commit is contained in:
henry
2021-11-04 10:03:56 +08:00
parent b07cb9587b
commit 6ef32d16fc
6 changed files with 37 additions and 154 deletions

View File

@ -19,10 +19,11 @@ func (c *Instance) List() (*basic.PageDataResponse, error) {
//if {
//
//}
out := make([]*model2.SysRole, 0)
model2.Find(mSysRole.SysRole, &out, where...)
if err := model2.Find(mSysRole.SysRole, &out, where...); err != nil {
return nil, err
}
return &basic.PageDataResponse{Data: nil, Count: 0}, nil
}