Merge branch 'master_test_gn' of http://60.1.1.230/backend/jieling_server into master_test_gn

back_recharge
jiahuiwen 2022-01-11 14:00:08 +08:00
commit 996169647e
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ import java.util.Map;
/** /**
* @Author hj * @Author hj
* @Date 2021/10/28 17:11:17 * @Date 2021/10/28 17:11:17
* @Description: homelevel id#id#/ * @Description: homelevel id id /
* @Version 1.0 * @Version 1.0
*/ */
public class Cmd_homelevel extends GmRoleAbstract{ public class Cmd_homelevel extends GmRoleAbstract{
@ -25,7 +25,7 @@ public class Cmd_homelevel extends GmRoleAbstract{
if (landLevel == null){ if (landLevel == null){
return false; return false;
} }
int time = args.length > 2?Integer.parseInt(args[2]):TimeUtils.nowInt(); int time = args.length >= 2?Integer.parseInt(args[1]):TimeUtils.nowInt();
ArchitectureInfo info = new ArchitectureInfo(landLevel.getId(), time, 0); ArchitectureInfo info = new ArchitectureInfo(landLevel.getId(), time, 0);
user.getPlayerInfoManager().putArchitectureInfo(landLevel.getPoolID(),info); user.getPlayerInfoManager().putArchitectureInfo(landLevel.getPoolID(),info);
} }

View File

@ -4,7 +4,7 @@ import com.ljsd.jieling.logic.dao.root.User;
/** /**
* @Author hj * @Author hj
* @Date 2021/10/28 17:11:17 * @Date 2021/10/28 17:11:17
* @Description: sublay * @Description: sublay id
* @Version 1.0 * @Version 1.0
*/ */
public class Cmd_sublay extends GmRoleAbstract{ public class Cmd_sublay extends GmRoleAbstract{