|
|
@@ -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;
|
|
|
}
|
|
|
+
|
|
|
}
|