We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 472e503 commit 9c40447Copy full SHA for 9c40447
server/service/exa_customer.go
@@ -61,7 +61,7 @@ func GetExaCustomer(id uint) (err error, customer model.ExaCustomer) {
61
func GetCustomerInfoList(sysUserAuthorityID string, info request.PageInfo) (err error, list interface{}, total int) {
62
limit := info.PageSize
63
offset := info.PageSize * (info.Page - 1)
64
- db := global.GVA_DB.Model(&model.SysAuthority{})
+ db := global.GVA_DB.Model(&model.ExaCustomer{})
65
var a model.SysAuthority
66
a.AuthorityId = sysUserAuthorityID
67
err, auth := GetAuthorityInfo(a)
0 commit comments