lizhen_gitee 1 tydzień temu
rodzic
commit
0727270e74
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      app/Http/Controllers/Api/AskController.php

+ 2 - 2
app/Http/Controllers/Api/AskController.php

@@ -18,10 +18,10 @@ class AskController extends BaseController
     use PayTrait;
 
     public function test(Request $request){
-        $chat_content = '你好';
+        $chat_content = '你好'.date('Y-m-d H:i:s');
         $chat_image = '';
         $uid = $request->uid;
-        $oid = 4101;
+        $oid = 4395;
         $websocket_id = GatewayUtils::uid2client_id($oid);
         if($websocket_id){
             GatewayUtils::success($websocket_id, 5, ['chat_content'=>_mini_emoji($chat_content, true), 'chat_image'=>$chat_image,