Ver Fonte

wip:提交

wkyuer há 1 semana atrás
pai
commit
ea07564f67

+ 2 - 2
src/jfw/modules/publicapply/src/subscribePush/entity/keyWords.go

@@ -257,8 +257,8 @@ func AddKeyWordsFree(types, userId, classIndex, className, keywordsIndex, keywor
 			if gconv.Bool(sessionMap["isHelpSub"]) {
 				ccc := FreeIsInTsGuide(userId, 1)
 				fmt.Println(userId, "FreeIsInTsGuide", ccc)
-				if v := FreeIsInTsGuide(userId, 1); v != 0 {
-					saveData["i_ts_guide"] = v
+				if ccc != 0 {
+					saveData["i_ts_guide"] = ccc
 				}
 			}
 		}

+ 0 - 1
src/jfw/modules/publicapply/src/subscribePush/entity/setting.go

@@ -129,7 +129,6 @@ func FreeSubChange(userId string, area, district *map[string]interface{}, indust
 	updateOk := config.Compatible.Update(userId, map[string]interface{}{
 		"$set": setMap,
 	})
-	fmt.Println(userId, gconv.String(setMap))
 	if !updateOk {
 		return false
 	}