Browse Source

不稳定 关闭通知

shish 5 years ago
parent
commit
7763bddd25
1 changed files with 4 additions and 0 deletions
  1. 4 0
      biz-ghs/ws/services/WsService.php

+ 4 - 0
biz-ghs/ws/services/WsService.php

@@ -15,9 +15,11 @@ use Yii;
 
 class WsService
 {
+
     //到账通知 $adminId 为 shopAdminId
     public static function arrivalNotice($adminId, $money, $payWay)
     {
+        return true;
         $payment = $payWay == dict::getDict('payWay', 'alipay') ? '支付宝' : '微信';
         $msg = $payment . '收款' . $money . '元';
         $audio = baiduAip::transfer($msg, 4, 0);
@@ -54,6 +56,7 @@ class WsService
     //商城客户下单时,提示零售花店(下所有有开启通知的员工) 你有新的订单
     public static function newOrderNotice($shopAdminId)
     {
+        return true;
         $shopAdmin = ShopAdminClass::getById($shopAdminId, true);
         if (empty($shopAdmin)) {
             return false;
@@ -93,4 +96,5 @@ class WsService
         }
         return true;
     }
+
 }