liugc преди 1 година
родител
ревизия
0010734673
променени са 2 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 1 1
      app/adminapi/lists/works/ServiceWorkMailLists.php
  2. 4 4
      app/common/command/SendBxMail.php

+ 1 - 1
app/adminapi/lists/works/ServiceWorkMailLists.php

@@ -47,7 +47,7 @@ class ServiceWorkMailLists extends BaseAdminDataLists implements ListsSearchInte
 
     public function queryWhere(){
         $where = [];
-        $time = [strtotime(date("Y-03-01")), strtotime(date("Y-m-d 22:59:59"))];
+        $time = [strtotime(date("Y-m-d")), strtotime(date("Y-m-d 22:59:59"))];
         $where[] = ['finished_time', 'between', $time];
         return $where;
     }

+ 4 - 4
app/common/command/SendBxMail.php

@@ -59,10 +59,10 @@ class SendBxMail extends Command
             $mail->CharSet = 'UTF-8';
             // 发送者和接收者设置
             $mail->setFrom('whkyjl@126.com', '武汉开源节流科技有限公司');     // 发件人邮箱和名称
-//            $mail->addAddress('sujing@ub.chinalife-p.com.cn', '出单业务'); // 收件人邮箱和名称
-//            $mail->addAddress('649478907@qq.com', '出单业务'); // 收件人邮箱和名称
-//            $mail->addAddress('liliangjie@ub.chinalife-p.com.cn', '出单业务'); // 收件人邮箱和名称
-//            $mail->addAddress('fangxuhao@outlook.com', '出单业务'); // 收件人邮箱和名称
+            $mail->addAddress('sujing@ub.chinalife-p.com.cn', '出单业务'); // 收件人邮箱和名称
+            $mail->addAddress('649478907@qq.com', '出单业务'); // 收件人邮箱和名称
+            $mail->addAddress('liliangjie@ub.chinalife-p.com.cn', '出单业务'); // 收件人邮箱和名称
+            $mail->addAddress('fangxuhao@outlook.com', '出单业务'); // 收件人邮箱和名称
 //            $mail->addAddress('1804628603@qq.com', '出单业务'); // 收件人邮箱和名称
             $mail->addAddress('466014217@qq.com', '出单业务'); // 收件人邮箱和名称