Commit f416044e authored by 万继龙's avatar 万继龙

Merge branch 'fix_0806' into 'master'

add: fix bug

See merge request bp/pay!45
parents 28b26114 a141692c
...@@ -44,7 +44,7 @@ class Sdk { ...@@ -44,7 +44,7 @@ class Sdk {
] ]
*/ */
FileLog::info('sdk api:', ['traceId'=>Tracer::getTraceId(), 'url'=>$url, 'req'=>$params, 'res'=>$data]); FileLog::info('sdk api:', json_encode(['url'=>$url, 'req'=>$params, 'res'=>$data]));
if(!empty($data['response']['code'])) { if(!empty($data['response']['code'])) {
throw new BaseException(['msg'=>$data['response']['reason']??'', 'code'=>$data['response']['code']]); throw new BaseException(['msg'=>$data['response']['reason']??'', 'code'=>$data['response']['code']]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment