|
@@ -11,6 +11,7 @@ class Model_apiyyv1 extends Lin_Model
|
|
|
$this->load->database();
|
|
|
$this->table = 'apiyy';
|
|
|
$this->load_table('apiyy');
|
|
|
+ $this->load->_model("Model_logic_ding","logic_ding");
|
|
|
}
|
|
|
/**
|
|
|
* 生成u9的调出单
|
|
@@ -323,6 +324,7 @@ class Model_apiyyv1 extends Lin_Model
|
|
|
$header[] = "Content-Type: application/json";
|
|
|
$header[] = "Token: ".$token;
|
|
|
$res = $this->sendReq($url,$header,json_encode($list));
|
|
|
+ $this->logic_ding->sendToDing("创建料品监听".json_encode($params,JSON_UNESCAPED_UNICODE)."||".json_encode($res,JSON_UNESCAPED_UNICODE)."||".$url);
|
|
|
return array($res,$list);
|
|
|
}
|
|
|
|