Просмотр исходного кода

删除 零交会购票成功通知

shish 3 лет назад
Родитель
Сommit
95c7609e81
1 измененных файлов с 0 добавлено и 12 удалено
  1. 0 12
      app-hd/controllers/NoticeController.php

+ 0 - 12
app-hd/controllers/NoticeController.php

@@ -89,18 +89,6 @@ class NoticeController extends PublicController
                     }
                 }
             }
-            //零交会购票成功通知
-            if ($capitalType == dict::getDict('capitalType', 'ljhApply', 'id')) {
-                $ljh = LjhApplyClass::getByCondition(['orderSn' => $orderSn], true);
-                $ljhMobile = '';
-                if (!empty($ljh)) {
-                    $ljhMobile = $ljh->mobile ?? '';
-                    if (!empty($ljhMobile)) {
-                        sms::send($ljhMobile . ',' . $orderSn, '恭喜,您已成功报名零交会(编号{$var}),会议时间是3.24-3.26,请提前做好出行和住宿安排');
-                    }
-                }
-                noticeUtil::push("零交会有新人报名 {$ljhMobile} {$orderSn},请注意查看", '15280215347');
-            }
         } catch (\Exception $e) {
             $transaction->rollBack();
             Yii::error("失败原因:" . $e->getMessage());