diff --git a/pom.xml b/back-end_code/pom.xml similarity index 98% rename from pom.xml rename to back-end_code/pom.xml index 2d585063df0e6e1690145003c687e98d98c6e578..f3b00057dcf44dc123c99e4184fb0d6b768c343a 100644 --- a/pom.xml +++ b/back-end_code/pom.xml @@ -10,7 +10,7 @@ com.shop service - 0.0.1-SNAPSHOT + 1.0.1-SNAPSHOT com.shop.service 购物网站后台 diff --git a/back-end_code/src/main/resources/application-pro.yml b/back-end_code/src/main/resources/application-pro.yml index 55c39bad9eccff854cbcb2f3c281ceb6ae264c4a..2124426af8ac2af4e39aea52d17dc52243b087ed 100644 --- a/back-end_code/src/main/resources/application-pro.yml +++ b/back-end_code/src/main/resources/application-pro.yml @@ -3,10 +3,10 @@ server: spring: datasource: - username: xiangwan - password: dingwanren + username: root + password: jiaxintang #url中database为对应的数据库名称 - url: jdbc:mysql://47.103.214.177:3306/service2.0?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC + url: jdbc:mysql://localhost:3306/service2.0?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC driver-class-name: com.mysql.cj.jdbc.Driver mybatis: @@ -28,4 +28,4 @@ oss: #文件上传路径 filepath: - bin: "E:/file/bin/" \ No newline at end of file + bin: "C:/file/bin/" \ No newline at end of file diff --git a/back-end_code/src/main/resources/application.yml b/back-end_code/src/main/resources/application.yml index caf4dfcd647483863672818bd860d4ec4767e8de..fc3033beacbfcbed322aef6cb2aa542243b21d86 100644 --- a/back-end_code/src/main/resources/application.yml +++ b/back-end_code/src/main/resources/application.yml @@ -1,3 +1,3 @@ spring: profiles: - active: dev \ No newline at end of file + active: pro \ No newline at end of file