Commit 8c08b15cfa02509913f50946f1aa3d11cf69fc96
1 parent
d9f45990
Exists in
master
and in
4 other branches
提交
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
@@ -27,7 +27,8 @@ func HandlerQueryguaninfo(w http.ResponseWriter, data string, uuid int) { | @@ -27,7 +27,8 @@ func HandlerQueryguaninfo(w http.ResponseWriter, data string, uuid int) { | ||
27 | //获取存钱罐等级配置 | 27 | //获取存钱罐等级配置 |
28 | mcfg := jsonconf.GetMoneyBoxCfg(uinfo.Lv) | 28 | mcfg := jsonconf.GetMoneyBoxCfg(uinfo.Lv) |
29 | if mcfg == nil { | 29 | if mcfg == nil { |
30 | - logger.Error("GetMoneyBoxCfg failed err=%v", err) | 30 | + logger.Error("GetMoneyBoxCfg failed uinfo.Lv=%v", uinfo.Lv) |
31 | + logger.Error("GetMoneyBoxCfg failed cfg=%v", jsonconf.GetJsonConf().MoneyBoxConfig) | ||
31 | resp.Message = "存钱罐金币不足" | 32 | resp.Message = "存钱罐金币不足" |
32 | resp.Code = ERROR_GETCONFIG_FAILED | 33 | resp.Code = ERROR_GETCONFIG_FAILED |
33 | break | 34 | break |