mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-11-10 16:26:28 +00:00
开源...
This commit is contained in:
@@ -34,8 +34,8 @@ public class GRefereeAction {
|
||||
|
||||
//headless位置
|
||||
// public static String Headless = "D:\\myproject\\JisolGame\\headless";
|
||||
// public static String Headless = "D:\\Jisol\\JisolGame\\headless";
|
||||
public static String Headless = "D:\\wwwroot\\pet.jisol.cn\\headless";
|
||||
public static String Headless = "D:\\Jisol\\JisolGame\\headless";
|
||||
// public static String Headless = "D:\\wwwroot\\pet.jisol.cn\\headless";
|
||||
|
||||
//获取一个空闲的裁决员
|
||||
public static GRefereeClient getFreeReferee(){
|
||||
@@ -79,6 +79,8 @@ public class GRefereeAction {
|
||||
//添加裁判客户端
|
||||
public static void addRefereeClient(){
|
||||
|
||||
System.out.println("添加裁判客户端");
|
||||
|
||||
//生成客户端Id
|
||||
String uuid = IdUtil.simpleUUID();
|
||||
//创建日志类
|
||||
|
||||
@@ -139,7 +139,7 @@ public class GPVPAction {
|
||||
builder.putLeftPets(pet.getPetId(), JSONUtil.toJsonStr(pet));
|
||||
});
|
||||
petController.getPetList(client2.player).data.forEach(pet -> {
|
||||
builder.putLeftPets(pet.getPetId(), JSONUtil.toJsonStr(pet));
|
||||
builder.putRightPets(pet.getPetId(), JSONUtil.toJsonStr(pet));
|
||||
});
|
||||
|
||||
//取消等待
|
||||
|
||||
@@ -2,10 +2,10 @@ server:
|
||||
port: 8080
|
||||
spring:
|
||||
datasource:
|
||||
username: pet_jisol_cn
|
||||
password: sThsBwjfDcaw2wJR
|
||||
url: jdbc:mysql://kyu.jisol.cn:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
# url: jdbc:mysql://localhost:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
username: root
|
||||
password: 123456
|
||||
# url: jdbc:mysql://kyu.jisol.cn:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
url: jdbc:mysql://localhost:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
jackson:
|
||||
serialization:
|
||||
@@ -13,4 +13,4 @@ spring:
|
||||
|
||||
#mybatis-plus:
|
||||
# configuration:
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
Reference in New Issue
Block a user