Explorar el Código

feimingyu json str

xiaoyu hace 2 años
padre
commit
4dae1b1d23
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      helper/refill/api/xyz/feimingyu/RefillPhone.php

+ 3 - 0
helper/refill/api/xyz/feimingyu/RefillPhone.php

@@ -36,6 +36,9 @@ class RefillPhone extends refill\IRefillPhone
         $sign = config::sign($params);
         $params['sign'] = $sign;
 
+        $json_str = json_encode($params);
+        Log::record("feimingyu body : {$json_str}", Log::DEBUG);
+
         $resp = http_request(config::ORDER_URL, $params, 'POST', false, config::ExtHeaders, $net_errno);
 
         if (empty($resp)) {