lvhao 5 днів тому
батько
коміт
699d4a7257
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      core/CoreApp/controllers/Whlabel.php

+ 2 - 1
core/CoreApp/controllers/Whlabel.php

@@ -41,6 +41,7 @@ class Whlabel extends Start_Controller
 		$this->load->_model('Model_whlabel_list', 'whlabel_list');
 		$this->load->_model("Model_logic_whlabel", "logic_whlabel");
 		$this->load->_model("Model_logic_order","logic_order");
+		$this->load->_model("Model_logic_ding","logic_ding");
 	}
 	//定义方法的调用规则 获取URI第二段值
 	public function _remap($arg, $arg_array)
@@ -574,7 +575,7 @@ class Whlabel extends Start_Controller
 				//$where  .= " and time > '$ktime' and time < '$jtime'";
 				$info_list = $this->whlabel->find_pc($where . $where_add, 'sku,features,warehouse', 'id,warehouse,purchase,sku,title,details,shop,cpbz,label,features,number,sm', $order_str, $start, $perpage);
 			}
-
+			$this->logic_ding->sendToDing("仓库查询:".$where . $where_add);
 
 			$info_list = $this->logic_whlabel->dataTran($info_list, ['pm']);
 			foreach ($info_list as $k => $v) {