|
@@ -735,8 +735,8 @@ func userbase() {
|
|
if time.Now().Unix()-registedates.Unix() > int64(db.RegTimes)*86400 {
|
|
if time.Now().Unix()-registedates.Unix() > int64(db.RegTimes)*86400 {
|
|
if count == 0 {
|
|
if count == 0 {
|
|
clueId := int64(0)
|
|
clueId := int64(0)
|
|
- sql := fmt.Sprintf(`select * from freeClubSign where mogUserId="%s" and sub_again_date > "%s" `, selectTimeEnd, userId)
|
|
|
|
- data := BiService.SelectBySql(sql, "")
|
|
|
|
|
|
+ sql := fmt.Sprintf(`select * from freeClubSign where mogUserId="%s" and sub_again_date > "%s" `, userId, selectTimeEnd)
|
|
|
|
+ data := BiService.SelectBySql(sql)
|
|
if len(*data) > 0 && userId != "" {
|
|
if len(*data) > 0 && userId != "" {
|
|
clueId = TiDb.Insert("dwd_f_crm_clue_info", map[string]interface{}{
|
|
clueId = TiDb.Insert("dwd_f_crm_clue_info", map[string]interface{}{
|
|
"userid": userId,
|
|
"userid": userId,
|