|
|
@@ -39,7 +39,13 @@ class WsController extends BaseController
|
|
|
//模拟推送ws (仅供测试联调用)
|
|
|
public function actionSend()
|
|
|
{
|
|
|
- WsService::arrivalNotice($this->shopAdminId, 9866.29);
|
|
|
+ WsService::arrivalNotice($this->shopAdminId, 9866.29,1);
|
|
|
+ util::complete();
|
|
|
+ }
|
|
|
+ //模拟推送订单通知
|
|
|
+ public function actionSendOrder()
|
|
|
+ {
|
|
|
+ WsService::newOrderNotice($this->shopAdminId);
|
|
|
util::complete();
|
|
|
}
|
|
|
}
|