Browse Source

update

master
shenjiachi 1 week ago
parent
commit
a64fefcf35
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/hdl/member_center/hdl_level__management.go

+ 2
- 2
app/hdl/member_center/hdl_level__management.go View File

@@ -336,8 +336,8 @@ func DeleteLevel(c *gin.Context) {
e.OutErr(c, e.ERR_DB_ORM, err.Error())
return
}
if !exist {
e.OutErr(c, e.ERR, errors.New("该等级下存在会员,无法删除,请移除对应等级下会员或将货源移动到其他等级").Error())
if exist {
e.OutErr(c, e.ERR, errors.New("该等级下存在会员,无法删除,请移除对应等级下会员或将会员移动到其他等级").Error())
return
}



Loading…
Cancel
Save