|
@@ -2,6 +2,7 @@
|
|
class Model_hualei extends Lin_Model {
|
|
class Model_hualei extends Lin_Model {
|
|
function __construct(){
|
|
function __construct(){
|
|
parent::__construct();
|
|
parent::__construct();
|
|
|
|
+ $this->load->_model("Model_logic_ding",'logic_ding');
|
|
}
|
|
}
|
|
//渠道 http://123.207.33.169:8082/getProductList.htm
|
|
//渠道 http://123.207.33.169:8082/getProductList.htm
|
|
//$ys = 1;//延时获取运单
|
|
//$ys = 1;//延时获取运单
|
|
@@ -161,7 +162,9 @@ function __construct(){
|
|
}
|
|
}
|
|
// var_dump($link);
|
|
// var_dump($link);
|
|
// var_dump(json_encode($count));
|
|
// var_dump(json_encode($count));
|
|
|
|
+ $this->logic_ding->sendToDing("hualei发货单请求的报文".$link.json_encode($count));
|
|
$result = $this->curlRequest('http://123.207.33.169:8082/createOrderApi.htm',$link.json_encode($count));
|
|
$result = $this->curlRequest('http://123.207.33.169:8082/createOrderApi.htm',$link.json_encode($count));
|
|
|
|
+ $this->logic_ding->sendToDing("hualei发货单回执的报文".$result);
|
|
$resultData = json_decode($result['result'], true);
|
|
$resultData = json_decode($result['result'], true);
|
|
if($resultData['ack'] == 'true')
|
|
if($resultData['ack'] == 'true')
|
|
{
|
|
{
|