Explorar el Código

升星返回值

cyzhao hace 10 meses
padre
commit
30ecd19989
Se han modificado 2 ficheros con 2 adiciones y 3 borrados
  1. 1 3
      Gameserver/App/configs/GameConfig.php
  2. 1 0
      Gameserver/App/process/HeroProc.php

+ 1 - 3
Gameserver/App/configs/GameConfig.php

@@ -3,11 +3,9 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-23 17:47:05
+ // 日期: 2024-07-30 17:48:35
 ////////////////////
 
-namespace loyalsoft;
-
 /**
  * 常量配置数据 
  */

+ 1 - 0
Gameserver/App/process/HeroProc.php

@@ -79,6 +79,7 @@ class HeroProc {
         return Resp::ok(array(                   
                     'store' => ctx()->store,
                     'heros'=>ctx()->heros,
+                    'newHeroId'=>$nextHeroId,
         ));
     }