Browse Source

Merge remote-tracking branch 'origin/master'

master
huangjiajun 1 week ago
parent
commit
451dc65ccd
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()) e.OutErr(c, e.ERR_DB_ORM, err.Error())
return return
} }
if !exist {
e.OutErr(c, e.ERR, errors.New("该等级下存在会员,无法删除,请移除对应等级下会员或将货源移动到其他等级").Error())
if exist {
e.OutErr(c, e.ERR, errors.New("该等级下存在会员,无法删除,请移除对应等级下会员或将会员移动到其他等级").Error())
return return
} }




Loading…
Cancel
Save