|
@@ -6,6 +6,7 @@ class Model_apiyy extends Lin_Model
|
|
|
$this->load->database();
|
|
|
$this->table = 'apiyy';
|
|
|
$this->load_table('apiyy');
|
|
|
+ $this->load->_model("Model_logic_ding","logic_ding");
|
|
|
}
|
|
|
public function get_number($number)
|
|
|
{
|
|
@@ -163,6 +164,8 @@ class Model_apiyy extends Lin_Model
|
|
|
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
|
|
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
|
|
|
$res = curl_exec($ch);
|
|
|
+
|
|
|
+ $this->logic_ding->sendToDing("u9创建料品监听(".$list."(【".$res."】");
|
|
|
$res = json_decode($res,true);
|
|
|
if(isset($res['Data'][0]))
|
|
|
{
|