lvhao 13 часов назад
Родитель
Сommit
973cf144bd
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      core/CoreApp/controllers/Lyerpapi/v1/Thdj.php

+ 2 - 0
core/CoreApp/controllers/Lyerpapi/v1/Thdj.php

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