|
|
@@ -15,8 +15,8 @@ class WsController extends BaseController
|
|
|
{
|
|
|
$post = Yii::$app->request->post();
|
|
|
$clientId = isset($post['clientId']) ? $post['clientId'] : '';
|
|
|
- $adminId = $this->adminId;
|
|
|
- Gateway::bindUid($clientId, $adminId);
|
|
|
+ $shopAdminId = $this->shopAdminId;
|
|
|
+ Gateway::bindUid($clientId, $shopAdminId);
|
|
|
util::complete();
|
|
|
}
|
|
|
|
|
|
@@ -31,7 +31,7 @@ class WsController extends BaseController
|
|
|
//模拟推送ws (仅供测试联调用)
|
|
|
public function actionSend()
|
|
|
{
|
|
|
- WsService::arrivalNotice($this->adminId,1.2);
|
|
|
+ WsService::arrivalNotice($this->shopAdminId,9866.29);
|
|
|
util::complete();
|
|
|
}
|
|
|
}
|