src/main/java/com/moon/server/helper/HttpHelper.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/moon/server/service/data/ShuJianService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/moon/server/helper/HttpHelper.java
@@ -270,6 +270,10 @@ if (null == entity) { return; } if (null == res) { entity.writeTo(response.getOutputStream()); return; } switch (res.getCategory()) { case 2: src/main/java/com/moon/server/service/data/ShuJianService.java
@@ -12,6 +12,7 @@ import com.moon.server.helper.HttpHelper; import com.moon.server.helper.RestHelper; import com.moon.server.helper.StringHelper; import com.moon.server.helper.WebHelper; import com.moon.server.service.sys.LayerService; import com.moon.server.service.sys.ResService; import org.apache.commons.logging.Log; @@ -91,6 +92,7 @@ httpHelper.service(req, res, null, url); } catch (Exception ex) { log.error(ex.getMessage(), ex); WebHelper.writeJson2Page(res,ex.getMessage()); } } @@ -105,6 +107,7 @@ httpHelper.service(req, res, null, url); } catch (Exception ex) { log.error(ex.getMessage(), ex); WebHelper.writeJson2Page(res,ex.getMessage()); } } @@ -119,6 +122,7 @@ httpHelper.service(req, res, null, url); } catch (Exception ex) { log.error(ex.getMessage(), ex); WebHelper.writeJson2Page(res,ex.getMessage()); } } src/main/resources/application.yml
@@ -46,12 +46,12 @@ datasource: name: prod # JDBC 基本配置 ¤tSchema=public #url: jdbc:postgresql://127.0.0.1:5433/moon?useAffectedRows=true url: jdbc:postgresql://192.168.20.83:5433/moon?useAffectedRows=true url: jdbc:postgresql://127.0.0.1:5433/moon?useAffectedRows=true #url: jdbc:postgresql://192.168.20.83:5433/moon?useAffectedRows=true #url: jdbc:postgresql://103.85.165.99:25432/moon?useAffectedRows=true username: postgres password: Postgres!_14_moon #password: postgres #password: Postgres!_14_moon password: postgres driver-class-name: org.postgresql.Driver platform: POSTGRESQL type: com.alibaba.druid.pool.DruidDataSource