Commit 9dee37477e9cb5a8219a42c629eb4681fe8ee37b
1 parent
292403da
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/function.go
@@ -289,7 +289,7 @@ func AddCoinToTouTiao(openid string, deviceid, amount int, descr string, btype s | @@ -289,7 +289,7 @@ func AddCoinToTouTiao(openid string, deviceid, amount int, descr string, btype s | ||
289 | } | 289 | } |
290 | 290 | ||
291 | if resp.Errcode != 0 { | 291 | if resp.Errcode != 0 { |
292 | - logger.Error("AddCoinToTouTiao failed=%v", err) | 292 | + logger.Error("AddCoinToTouTiao failed=%v", resp) |
293 | return 0, 0, errors.New(resp.Errmsg) | 293 | return 0, 0, errors.New(resp.Errmsg) |
294 | } | 294 | } |
295 | 295 |