浏览代码

bug修改

wangfei 6 年前
父节点
当前提交
4740c5a2af
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      service/user.go

+ 1
- 1
service/user.go 查看文件

@@ -506,7 +506,7 @@ func (s *UserServ) SaveForbidUser(userid string, forbidtype string) error {
506 506
 		return err
507 507
 	}
508 508
 	// 发送短信
509
-	if forbidtype == models.SYS_RESOURCE_COURSE {
509
+	if forbidtype == models.FORBID_COUPON {
510 510
 		utils.SendSMS("couponclose", user.Phone)
511 511
 	} else {
512 512
 		utils.SendSMS("goodsclose", user.Phone)