Browse Source

会员升级

Kirin 1 year ago
parent
commit
12b455495d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      crmeb/services/WithdrawService.php

+ 2 - 0
crmeb/services/WithdrawService.php

@@ -59,7 +59,9 @@ class WithdrawService
         $token = self::$token;
         $res = json_decode(self::do_request(self::$url . $url, compact('data', 'token'), ['content-type:application/json'], true, true), true);
         if ($res['code'] == 200) {
+            var_dump($res);
             $res['data'] = self::decode($res['data']);
+            $res['data'] = base64_decode($res['data']);
             return $res;
         } else {
             throw new ApiException($res['msg'] ?? '处理失败');