Browse Source

路由地址不能重复,包括提交协议

lcl 1 year ago
parent
commit
4b76bdf481

+ 1 - 1
src/main/java/com/kxs/adminap/controller/UsersController.java

@@ -639,7 +639,7 @@ public class UsersController
     /// 增加或修改创客信息
     /// </summary>
     /// <returns></returns>
-    @GetMapping("/main/users")
+    @PostMapping("/main/users")
     public @ResponseBody AppResultJson Add(String value)
     {
         // value = PublicFunction.DesDecrypt(value);

+ 1 - 1
src/main/resources/application.yml

@@ -1,6 +1,6 @@
 spring:
     datasource:
-        url: jdbc:mysql://47.109.31.237:3306/MyTest?useUnicode=true&characterEncoding=utf8
+        url: jdbc:mysql://47.109.31.237:3306/KxsMainServer?useUnicode=true&characterEncoding=utf8
         username: KxsMainServer
         password: FrW8ZfxlcaVdm1r0
         driver-class-name: com.mysql.cj.jdbc.Driver