shish 5 лет назад
Родитель
Сommit
cc6f4f4001
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      app-hd/controllers/WsController.php

+ 4 - 1
app-hd/controllers/WsController.php

@@ -10,9 +10,12 @@ use bizGhs\ws\services\WsService;
 use common\components\util;
 use Yii;
 use GatewayClient\Gateway;
+
 class WsController extends BaseController
 {
 
+    public $guestAccess = ['bind'];
+
     //绑定用户
     public function actionBind()
     {
@@ -34,7 +37,7 @@ class WsController extends BaseController
     //模拟推送ws (仅供测试联调用)
     public function actionSend()
     {
-        WsService::arrivalNotice($this->shopAdminId,9866.29);
+        WsService::arrivalNotice($this->shopAdminId, 9866.29);
         util::complete();
     }
 }