Browse Source

Merge branch 'v4.9.39_ws' of qmx/jy into feature/v4.9.39

wangshan 1 year ago
parent
commit
bf65732d4f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/jfw/modules/app/src/app/front/wx.go

+ 3 - 1
src/jfw/modules/app/src/app/front/wx.go

@@ -27,7 +27,9 @@ func init() {
 }
 
 func (w *WX) MiniEr(id string) error {
-	if id := encrypt.SE.Decode4Hex(id); id != "" {
+	id = encrypt.SE.DecodeString(id)
+	log.Println("---解密后---id:", id)
+	if id != "" {
 		id = fmt.Sprintf("ac_%s", id)
 		var pngdata = []byte{}
 		if ret, _ := redis.GetBytes("other", "p_share_"+id); ret != nil {