add clear

This commit is contained in:
as2252258@163.com
2020-03-09 15:54:24 +08:00
parent 03b08f79fe
commit 294303298e
+2 -1
View File
@@ -61,9 +61,10 @@ class Recharge extends SmallProgram
$body = json_decode($body, true);
}
$data['postBody'] = $body;
$return['code'] = 0;
$return['data'] = $data;
$return['data']['postBody'] = $body;
if ($data['return_code'] == 'FAIL') {
$return['code'] = -1;
$return['message'] = $data['return_msg'];