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)