升级4.0
This commit is contained in:
parent
1c7e608778
commit
b098b1fd58
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,5 +1,3 @@
|
|||||||
web:
|
|
||||||
port: 8981
|
|
||||||
oauth:
|
oauth:
|
||||||
client-id: 65013a3d89d14fab8ff3eb2c0f3981a3
|
client-id: 65013a3d89d14fab8ff3eb2c0f3981a3
|
||||||
client-secret: 22b5ce70d67f41b79b27cbedb57c976a
|
client-secret: 22b5ce70d67f41b79b27cbedb57c976a
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user