stanley-king 1 年間 前
コミット
e3f455ba8c
1 ファイル変更3 行追加0 行削除
  1. 3 0
      mapi/api/ctcard/CTCard.php

+ 3 - 0
mapi/api/ctcard/CTCard.php

@@ -52,6 +52,7 @@ class CTCard implements IOpenCard
         $params['biz'] = $biz;
         $requestParameters = json_encode($params,JSON_UNESCAPED_UNICODE);
         $resp = http_post_data(config::production_env['DcoosExternalNetwork'], $requestParameters , config::HeaderProduction, $net_errno);
+
         if (empty($resp)) {
             return [false, '网络错误'];
         }
@@ -78,6 +79,8 @@ class CTCard implements IOpenCard
         $params['biz'] = $biz;
         $requestParameters = json_encode($params);
         $resp = http_post_data(config::production_env['DcoosExternalNetwork'], $requestParameters , config::HeaderProduction, $net_errno);
+
+        return $resp;
     }
 
     public function address_delivery($biz, &$net_errno = 0) : array