shish 5 년 전
부모
커밋
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();
     }
 }