From 9c40447071f32446a9ffad652dfb16fd2ed4441c Mon Sep 17 00:00:00 2001 From: QM303176530 <303176530@qq.com> Date: Fri, 26 Jun 2020 17:26:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=A2=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=A4=BA=E4=BE=8B=E6=96=87=E4=BB=B6=E7=9A=84=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/service/exa_customer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/service/exa_customer.go b/server/service/exa_customer.go index 4c572abe..ba6b3a67 100644 --- a/server/service/exa_customer.go +++ b/server/service/exa_customer.go @@ -61,7 +61,7 @@ func GetExaCustomer(id uint) (err error, customer model.ExaCustomer) { func GetCustomerInfoList(sysUserAuthorityID string, info request.PageInfo) (err error, list interface{}, total int) { limit := info.PageSize offset := info.PageSize * (info.Page - 1) - db := global.GVA_DB.Model(&model.SysAuthority{}) + db := global.GVA_DB.Model(&model.ExaCustomer{}) var a model.SysAuthority a.AuthorityId = sysUserAuthorityID err, auth := GetAuthorityInfo(a)