Browse Source

wip:提交

wkyuer 1 week ago
parent
commit
47549a645e
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/jfw/modules/publicapply/src/subscribePush/entity/guide.go

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

@@ -1,6 +1,7 @@
 package entity
 package entity
 
 
 import (
 import (
+	"fmt"
 	"github.com/gogf/gf/v2/util/gconv"
 	"github.com/gogf/gf/v2/util/gconv"
 	"jy/src/jfw/modules/publicapply/src/config"
 	"jy/src/jfw/modules/publicapply/src/config"
 )
 )
@@ -11,14 +12,14 @@ func FreeIsInTsGuide(userid string) int {
 	if data == nil || len(*data) == 0 {
 	if data == nil || len(*data) == 0 {
 		return 0
 		return 0
 	}
 	}
-	//log.Printf("FreeIsInTsGuide %v %+v", userid, data)
+	fmt.Printf("FreeIsInTsGuide %v %+v", userid, data)
 	var (
 	var (
 		o_jy       = gconv.Map((*data)["o_jy"])
 		o_jy       = gconv.Map((*data)["o_jy"])
 		i_ts_guide = gconv.Int64((*data)["i_ts_guide"])
 		i_ts_guide = gconv.Int64((*data)["i_ts_guide"])
 		a_key      = gconv.Interfaces(o_jy["a_key"])
 		a_key      = gconv.Interfaces(o_jy["a_key"])
 		o_area     = gconv.Map(o_jy["o_area"])
 		o_area     = gconv.Map(o_jy["o_area"])
 	)
 	)
-	//log.Printf("FreeIsInTsGuide %v  \ni_ts_guide:%v \n len(o_jy) == 0:%v\n a_key == nil || len(a_key) == 0 :%v\n o_area == nil || len(o_area) == 0: %v", userid, i_ts_guide, len(o_jy) == 0, a_key == nil || len(a_key) == 0, o_area == nil || len(o_area) == 0)
+	fmt.Printf("FreeIsInTsGuide %v  \ni_ts_guide:%v \n len(o_jy) == 0:%v\n a_key == nil || len(a_key) == 0 :%v\n o_area == nil || len(o_area) == 0: %v", userid, i_ts_guide, len(o_jy) == 0, a_key == nil || len(a_key) == 0, o_area == nil || len(o_area) == 0)
 	if i_ts_guide == 1 {
 	if i_ts_guide == 1 {
 		return 0
 		return 0
 	}
 	}