浏览代码

在线添加邮件发送情况监视

longyi 7 月之前
父节点
当前提交
545f78b382
共有 3 个文件被更改,包括 9 次插入7 次删除
  1. 6 5
      core/CoreApp/controllers/Aatest.php
  2. 1 0
      core/CoreApp/controllers/Api.php
  3. 2 2
      core/CoreApp/controllers/Systemfout.php

+ 6 - 5
core/CoreApp/controllers/Aatest.php

@@ -186,11 +186,12 @@ class Aatest extends Start_Controller {
 			{
 				exit;
 			}
-		    $wlfs = array();
-		    $dd = $this->fullorder->find_all("source != '1' and dlzemail < '1' and shop = '".$notice['shop']."' and library = 2 and ".$where);
-			foreach($dd as $v){
-				$this->logic_ding->sendToDing($v['orderinfo']."监听邮件发送的异常:订单信息【".json_encode($v,JSON_UNESCAPED_UNICODE)."】");
-			}
+			$this->logic_ding->sendToDing("source != '1' and dlzemail < '1' and shop = '".$notice['shop']."' and library = 2 and ".$where);
+// 		    $wlfs = array();
+// 		    $dd = $this->fullorder->find_all("source != '1' and dlzemail < '1' and shop = '".$notice['shop']."' and library = 2 and ".$where);
+// 			foreach($dd as $v){
+// 				$this->logic_ding->sendToDing($v['orderinfo']."监听邮件发送的异常:订单信息【".json_encode($v,JSON_UNESCAPED_UNICODE)."】");
+// 			}
 		    // foreach ($dd as $v)
 		    // {
 			//     $shop = $this->shop->read($v['shop']);

+ 1 - 0
core/CoreApp/controllers/Api.php

@@ -1072,6 +1072,7 @@ class Api extends Start_Controller {
 			}
 		    $wlfs = array();
 		    $dd = $this->fullorder->find_all("source != '1' and dlzemail < '1' and shop = '".$notice['shop']."' and library = 2 and ".$where);
+		    $this->logic_ding->sendToDing("获取发送快件的快递条件"."source != '1' and dlzemail < '1' and shop = '".$notice['shop']."' and library = 2 and ".$where);
 		    foreach ($dd as $v)
 		    {
 			    $shop = $this->shop->read($v['shop']);

+ 2 - 2
core/CoreApp/controllers/Systemfout.php

@@ -567,9 +567,9 @@ class Systemfout extends Start_Controller {
 				if(empty($numweight)){
 				    echo json_encode(array('msg'=>'此单需要称重2!','success'=>false));exit;
 				}
-				$this->logic_ding->sendToDing("检测订单---------------------标记需要认证的东西".$y['number']);
+				//$this->logic_ding->sendToDing("检测订单---------------------标记需要认证的东西".$y['number']);
 			}	
-			$this->logic_ding->sendToDing("检测订单".$y['number']."称重".$numweight."快递公司".$y['express']);
+			//$this->logic_ding->sendToDing("检测订单".$y['number']."称重".$numweight."快递公司".$y['express']);
 			$express_info = $this->express->read($y['express']);
 			if(empty($express_info)){
 				echo json_encode(array('msg'=>'该快递信息异常,请联系技术!','success'=>false));exit;