消除冗余代码 细节提示修复

This commit is contained in:
pixel
2020-04-09 12:03:29 +08:00
parent 3a778ccdf1
commit 6f3e3188b2
7 changed files with 64 additions and 89 deletions

View File

@@ -105,7 +105,7 @@ func GetExaCustomerList(c *gin.Context) {
_ = c.ShouldBindJSON(&pageInfo)
err, customerList, total := service.GetCustomerInfoList(waitUse.AuthorityId, pageInfo)
if err != nil {
response.FailWithMessage(fmt.Sprintf("创建失败:%v", err), c)
response.FailWithMessage(fmt.Sprintf("获取失败:%v", err), c)
} else {
response.OkWithData(resp.PageResult{
List: customerList,