소스 검색

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)