Browse Source

广告

adv_callback
huangjiajun 1 week ago
parent
commit
b1abe8d280
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      app/hdl/hdl_callback_advertising.go

+ 4
- 0
app/hdl/hdl_callback_advertising.go View File

@@ -1,12 +1,14 @@
package hdl package hdl


import ( import (
"applet/app/cfg"
"applet/app/db" "applet/app/db"
"applet/app/md" "applet/app/md"
"applet/app/utils" "applet/app/utils"
"applet/app/utils/logx" "applet/app/utils/logx"
"code.fnuoos.com/EggPlanet/egg_models.git/src/implement" "code.fnuoos.com/EggPlanet/egg_models.git/src/implement"
"code.fnuoos.com/EggPlanet/egg_models.git/src/model" "code.fnuoos.com/EggPlanet/egg_models.git/src/model"
"code.fnuoos.com/EggPlanet/egg_system_rules.git"
"code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit" "code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit"
"crypto/sha256" "crypto/sha256"
"encoding/hex" "encoding/hex"
@@ -39,6 +41,7 @@ func CallbackAlipayFace(c *gin.Context) {
fmt.Println("支付宝回调数据", string(callbackStr)) fmt.Println("支付宝回调数据", string(callbackStr))
} }
func CallbackChuanshanjia(c *gin.Context) { func CallbackChuanshanjia(c *gin.Context) {
egg_system_rules.Init(cfg.RedisAddr)
userId := c.Query("user_id") userId := c.Query("user_id")
transId := c.Query("trans_id") transId := c.Query("trans_id")
primeRit := c.Query("prime_rit") primeRit := c.Query("prime_rit")
@@ -71,6 +74,7 @@ func CallbackChuanshanjia(c *gin.Context) {
return return
} }
func CallbackYoulianghui(c *gin.Context) { func CallbackYoulianghui(c *gin.Context) {
egg_system_rules.Init(cfg.RedisAddr)
userId := c.Query("userid") userId := c.Query("userid")
transId := c.Query("transid") transId := c.Query("transid")
primeRit := c.Query("pid") primeRit := c.Query("pid")


||||||
x
 
000:0
Loading…
Cancel
Save