zwxi 1 éve
szülő
commit
4b1f57b1bd
1 módosított fájl, 2 hozzáadás és 3 törlés
  1. 2 3
      models/tables/yb_research_signup_statistics/model.go

+ 2 - 3
models/tables/yb_research_signup_statistics/model.go

@@ -8,8 +8,7 @@ func (m *YbResearchSignupStatistics) Create() (err error) {
 }
 
 
-// GetBySandboxId 根据沙盘ID查询详情
-func GetSignUpCountByMobileAndBannerId(mobile string, bannerId int) (count int64, err error) {
-	err = global.DEFAULT_MYSQL.Table("yb_research_signup_statistics").Where("custom_mobile = ? and banner_id=? ", mobile, bannerId).Count(&count).Error
+func GetSignUpCountByMobileAndBannerId(CustomMobile string, bannerId int) (count int64, err error) {
+	err = global.DEFAULT_MYSQL.Table("yb_research_signup_statistics").Where("custom_mobile = ? and banner_id=? ", CustomMobile, bannerId).Count(&count).Error
 	return
 }