ziwen 1 year ago
parent
commit
309bb59fe8
3 changed files with 2 additions and 5 deletions
  1. 1 1
      controllers/activity.go
  2. 0 3
      models/db.go
  3. 1 1
      services/activity.go

+ 1 - 1
controllers/activity.go

@@ -1009,7 +1009,7 @@ func (this *ActivityCoAntroller) SignupCancel() {
 			err = errors.New("GetConfigByCode, Err: " + e.Error() + configCode)
 			return
 		}
-		openIdList, e := models.GetUserRecordListByMobile(4, cnf.ConfigValue)
+		openIdList, e := models.GetUserRecordListByMobile(4, cnf.ConfigValue+","+sellerItemQy.Mobile)
 		if e != nil && e.Error() != utils.ErrNoRow() {
 			err = errors.New("GetUserRecordListByMobile, Err: " + e.Error() + cnf.ConfigValue)
 			return

+ 0 - 3
models/db.go

@@ -152,11 +152,8 @@ func init() {
 		new(CygxUserLabelArticle),
 		new(CygxUserLabelActivitySpecial),
 		new(CygxInviteCompany),
-<<<<<<< HEAD
-=======
 		new(CygxActivityPointsBill),
 		new(CygxActivityPointsCompany),
->>>>>>> master
 		new(CygxTagHistory),
 	)
 	// 记录ORM查询日志

+ 1 - 1
services/activity.go

@@ -2159,7 +2159,7 @@ func ActivityUserRemind(user *models.WxUserItem, activityDetail *models.Activity
 			err = errors.New("GetConfigByCode, Err: " + e.Error() + configCode)
 			return
 		}
-		openIdList, e := models.GetUserRecordListByMobile(4, cnf.ConfigValue)
+		openIdList, e := models.GetUserRecordListByMobile(4, cnf.ConfigValue+","+sellerItemQy.Mobile)
 		if e != nil && e.Error() != utils.ErrNoRow() {
 			err = errors.New("GetUserRecordListByMobile, Err: " + e.Error() + cnf.ConfigValue)
 			return err