Commit f4fd7471b9d188503ead946f8e194f7ef15c7be1

Authored by 陆恒
1 parent e9e23d44
Exists in master

修复bug

src/HttpServer/logic/function.go
@@ -254,6 +254,7 @@ func DoHttpPost(bys []byte, apistr string) (string, error) { @@ -254,6 +254,7 @@ func DoHttpPost(bys []byte, apistr string) (string, error) {
254 } 254 }
255 255
256 256
  257 +
257 func GetCoinFromSdk(uuid int, gameid string, channel string) (int, error) { 258 func GetCoinFromSdk(uuid int, gameid string, channel string) (int, error) {
258 259
259 SERVERKEY := XIAOXINGXING_SERVERKEYTEST 260 SERVERKEY := XIAOXINGXING_SERVERKEYTEST
src/HttpServer/logic/logic.go
@@ -313,7 +313,7 @@ func HandlerFetchredbag(w http.ResponseWriter, data string, uuid int) { @@ -313,7 +313,7 @@ func HandlerFetchredbag(w http.ResponseWriter, data string, uuid int) {
313 break 313 break
314 } 314 }
315 315
316 - cfg := jsonconf.GetGuanConf(uinfo.JiRedNum+1) 316 + cfg := jsonconf.GetJiConf(uinfo.JiRedNum+1)
317 if cfg == nil { 317 if cfg == nil {
318 logger.Error("HandlerFetchredbag failed err=%v", err) 318 logger.Error("HandlerFetchredbag failed err=%v", err)
319 resp.Message = "获取配置失败!" 319 resp.Message = "获取配置失败!"