升级4.0

This commit is contained in:
黑小马 2025-08-26 16:30:10 +08:00
parent 1c7e608778
commit b098b1fd58
2 changed files with 2 additions and 3 deletions

View File

@ -3,11 +3,12 @@ package com.lktx.center;
import cn.hserver.core.boot.HServerApplication; import cn.hserver.core.boot.HServerApplication;
import cn.hserver.core.boot.annotation.HServerBoot; import cn.hserver.core.boot.annotation.HServerBoot;
import cn.hserver.mvc.constants.WebConstConfig; import cn.hserver.mvc.server.WebServer;
@HServerBoot @HServerBoot
public class Main { public class Main {
public static void main(String[] args) { public static void main(String[] args) {
WebServer.webPort(8981);
HServerApplication.run(Main.class, args); HServerApplication.run(Main.class, args);
} }
} }

View File

@ -1,5 +1,3 @@
web:
port: 8981
oauth: oauth:
client-id: 65013a3d89d14fab8ff3eb2c0f3981a3 client-id: 65013a3d89d14fab8ff3eb2c0f3981a3
client-secret: 22b5ce70d67f41b79b27cbedb57c976a client-secret: 22b5ce70d67f41b79b27cbedb57c976a