|
@@ -14,6 +14,7 @@ class Apidsyskxcx extends Start_Controller
|
|
|
parent::__construct();
|
|
|
$this->load->_model('Model_fullorder','fullorder');
|
|
|
$this->load->_model("Model_logic_ding","logic_ding");
|
|
|
+ $this->load->_model("Model_cne","cne");
|
|
|
}
|
|
|
public function _remap($arg, $arg_array)
|
|
|
{
|
|
@@ -74,7 +75,19 @@ class Apidsyskxcx extends Start_Controller
|
|
|
|
|
|
$split_waybills = array_chunk($waybill_list,10);
|
|
|
|
|
|
- $this->logic_ding->sendToDing(json_encode($split_waybills));
|
|
|
+ //$this->logic_ding->sendToDing(json_encode($split_waybills));
|
|
|
+
|
|
|
+ foreach($split_waybills as $v){
|
|
|
+
|
|
|
+ $params =[];
|
|
|
+ foreach($v as $item){
|
|
|
+ $params[] = [
|
|
|
+ "TrackNumber"=>$item,
|
|
|
+ ];
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ throw new Exception(json_encode($params));
|
|
|
|
|
|
}
|
|
|
}
|