xy 3 周之前
父节点
当前提交
90dda37799
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8 1
      src/main.php

+ 8 - 1
src/main.php

@@ -38,6 +38,9 @@ class ProgramMain {
             case 'start':
                 $client->start();
                 break;
+            case 'outGame':
+                echo "outGame";
+                break;
             default:
                 echo "未知命令: $command\n";
         }
@@ -47,4 +50,8 @@ class ProgramMain {
 // 命令行执行
 if (php_sapi_name() === 'cli') {
     ProgramMain::handleCommand($argv);
-}
+}
+
+
+//使用 
+// php main.php login xy1 123