瀏覽代碼

短剧

master
huangjiajun 5 天之前
父節點
當前提交
a93089bfa3
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      app/svc/advertising/svc_base.go

+ 2
- 3
app/svc/advertising/svc_base.go 查看文件

@@ -6,9 +6,9 @@ import (
"applet/app/md"
"applet/app/svc"
"applet/app/utils"
"applet/app/utils/cache"
"code.fnuoos.com/EggPlanet/egg_models.git/src/implement"
"code.fnuoos.com/EggPlanet/egg_models.git/src/model"
"code.fnuoos.com/EggPlanet/egg_system_rules.git/svc/sys_cfg"
"github.com/gin-gonic/gin"
"github.com/tidwall/gjson"
)
@@ -78,8 +78,7 @@ func SetPlayletBasic(c *gin.Context) {
e.OutErr(c, err1.Code, err1.Error())
return
}
redisConn := cache.GetPool().Get()
sysCfgDb := implement.NewSysCfgDb(db.Db, redisConn)
sysCfgDb := sys_cfg.NewSysCfgDb(db.Db)
sysCfgDb.SysCfgUpdate("playlet_incentive_base", utils.SerializeStr(req))
e.OutSuc(c, "success", nil)
return


Loading…
取消
儲存