ソースを参照

调试撤消出金接口

Robin 6 年 前
コミット
9357e806ed
1 ファイル変更2 行追加1 行削除
  1. 2 1
      normandcrm/service/common/lib/Mt4ManagerApi.php

+ 2 - 1
normandcrm/service/common/lib/Mt4ManagerApi.php

@@ -116,11 +116,12 @@ class Mt4ManagerApi
             'cmd' => 'deleteorders',
             'orders' => trim($orders),
         );
+        $tt = print_r($params,true);
+        file_put_contents('revokeOrder.txt',$tt);
         $config = Config::findOne(1);                   //获取到配置文件
         $mt4_pay_ip = $config['mt4_pay_ip'];                     //获取mt4出入金ip
         $mt4_pay_port = $config['mt4_pay_port'];                 //获取出入金端口
         $this->url = "http://{$mt4_pay_ip}:{$mt4_pay_port}/api";
-
         return $this->_httpRequest($this->url, $params);
     }