diff --git a/src/HttpServer/logic/function.go b/src/HttpServer/logic/function.go index 3217c70..660ec62 100644 --- a/src/HttpServer/logic/function.go +++ b/src/HttpServer/logic/function.go @@ -254,6 +254,7 @@ func DoHttpPost(bys []byte, apistr string) (string, error) { } + func GetCoinFromSdk(uuid int, gameid string, channel string) (int, error) { SERVERKEY := XIAOXINGXING_SERVERKEYTEST diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index f139fb9..e56b75e 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -313,7 +313,7 @@ func HandlerFetchredbag(w http.ResponseWriter, data string, uuid int) { break } - cfg := jsonconf.GetGuanConf(uinfo.JiRedNum+1) + cfg := jsonconf.GetJiConf(uinfo.JiRedNum+1) if cfg == nil { logger.Error("HandlerFetchredbag failed err=%v", err) resp.Message = "获取配置失败!" -- libgit2 0.21.0