|
@@ -13,6 +13,7 @@ class Thdj extends Lyapi_Controller{
|
|
|
$this->load->_model("Model_logic_order","logic_order");
|
|
$this->load->_model("Model_logic_order","logic_order");
|
|
|
$this->load->_model("Model_returns","returns");
|
|
$this->load->_model("Model_returns","returns");
|
|
|
$this->load->_model("Model_aliyunossnew","aliyunossnew");
|
|
$this->load->_model("Model_aliyunossnew","aliyunossnew");
|
|
|
|
|
+ $this->load->_model("Model_logic_ding","logic_ding");
|
|
|
}
|
|
}
|
|
|
public function searchwaybill(){
|
|
public function searchwaybill(){
|
|
|
if($this->input->method(TRUE) != 'POST'){
|
|
if($this->input->method(TRUE) != 'POST'){
|
|
@@ -49,6 +50,7 @@ class Thdj extends Lyapi_Controller{
|
|
|
$this->_json_error('请求方式错误','500');
|
|
$this->_json_error('请求方式错误','500');
|
|
|
}
|
|
}
|
|
|
$json_str = $this->input->raw_input_stream;
|
|
$json_str = $this->input->raw_input_stream;
|
|
|
|
|
+ $this->logic_ding->sendToDing(date("Y-m-d")."退货登记传图数据记录".$json_str);
|
|
|
$data = json_decode($json_str,true);
|
|
$data = json_decode($json_str,true);
|
|
|
$img = isset($data['img']) ? $data['img'] : '';
|
|
$img = isset($data['img']) ? $data['img'] : '';
|
|
|
$torderinfo = isset($data['torderinfo']) ? $data['torderinfo'] : '';
|
|
$torderinfo = isset($data['torderinfo']) ? $data['torderinfo'] : '';
|