wkyuer 1 săptămână în urmă
părinte
comite
37b3d3f3e9

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

@@ -2,6 +2,7 @@ package entity
 
 import (
 	"fmt"
+	"github.com/gogf/gf/v2/frame/g"
 	"github.com/gogf/gf/v2/util/gconv"
 	"jy/src/jfw/modules/publicapply/src/activityday/consts"
 	"jy/src/jfw/modules/publicapply/src/config"
@@ -266,6 +267,7 @@ func AddKeyWordsFree(types, userId, classIndex, className, keywordsIndex, keywor
 		ok = config.Compatible.Update(userId, map[string]interface{}{
 			"$set": saveData,
 		})
+		g.Dump("1----", userId, saveData)
 
 		if ok {
 			flag = true

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

@@ -7,6 +7,7 @@ import (
 	"bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/pb"
 	"errors"
 	"fmt"
+	"github.com/gogf/gf/v2/frame/g"
 	"github.com/gogf/gf/v2/util/gconv"
 	"jy/src/jfw/modules/publicapply/src/config"
 	"jy/src/jfw/modules/publicapply/src/db"
@@ -130,6 +131,8 @@ func FreeSubChange(userId string, area, district *map[string]interface{}, indust
 	updateOk := config.Compatible.Update(userId, map[string]interface{}{
 		"$set": setMap,
 	})
+
+	g.Dump("2----", userId, setMap)
 	if !updateOk {
 		return false
 	}