Commit fd89e50c authored by Menethil's avatar Menethil
Browse files

修改配置文件,默认编译admin为本地

修改默认的SQL链接,添加allowPubilcKeyRetrieval
parent f566a198
...@@ -3,7 +3,7 @@ pagehelper.reasonable=true ...@@ -3,7 +3,7 @@ pagehelper.reasonable=true
pagehelper.supportMethodsArguments=true pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql pagehelper.params=count=countSql
spring.datasource.druid.url=jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&verifyServerCertificate=false&useSSL=false spring.datasource.druid.url=jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&verifyServerCertificate=false&useSSL=false&allowPublicKeyRetrieval=true
spring.datasource.druid.driver-class-name=com.mysql.jdbc.Driver spring.datasource.druid.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.druid.username=litemall spring.datasource.druid.username=litemall
spring.datasource.druid.password=litemall123456 spring.datasource.druid.password=litemall123456
......
module.exports = { module.exports = {
NODE_ENV: '"production"', NODE_ENV: '"production"',
ENV_CONFIG: '"dep"', ENV_CONFIG: '"dep"',
BASE_API: '"http://122.152.206.172:8083/admin"', BASE_API: '"http://localhost:8083/admin"',
OS_API: '"http://122.152.206.172:8081/os"' OS_API: '"http://localhost:8081/os"'
} }
...@@ -3,7 +3,7 @@ pagehelper.reasonable=true ...@@ -3,7 +3,7 @@ pagehelper.reasonable=true
pagehelper.supportMethodsArguments=true pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql pagehelper.params=count=countSql
spring.datasource.druid.url=jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&verifyServerCertificate=false&useSSL=false spring.datasource.druid.url=jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&verifyServerCertificate=false&useSSL=false&allowPublicKeyRetrieval=true
spring.datasource.druid.driver-class-name=com.mysql.jdbc.Driver spring.datasource.druid.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.druid.username=litemall spring.datasource.druid.username=litemall
spring.datasource.druid.password=litemall123456 spring.datasource.druid.password=litemall123456
...@@ -26,7 +26,7 @@ logging.level.org.mybatis=ERROR ...@@ -26,7 +26,7 @@ logging.level.org.mybatis=ERROR
logging.level.org.linlinjava.litemall.db=ERROR logging.level.org.linlinjava.litemall.db=ERROR
logging.level.org.linlinjava.litemall=ERROR logging.level.org.linlinjava.litemall=ERROR
# 开发者应该设置成自己的域名,必须附带http或者https # \u5F00\u53D1\u8005\u5E94\u8BE5\u8BBE\u7F6E\u6210\u81EA\u5DF1\u7684\u57DF\u540D\uFF0C\u5FC5\u987B\u9644\u5E26http\u6216\u8005https
# 开发者可以查看OsStorageController.generateUrl # \u5F00\u53D1\u8005\u53EF\u4EE5\u67E5\u770BOsStorageController.generateUrl
org.linlinjava.litemall.os.address=http://127.0.0.1 org.linlinjava.litemall.os.address=http://127.0.0.1
org.linlinjava.litemall.os.port=8081 org.linlinjava.litemall.os.port=8081
\ No newline at end of file
...@@ -3,7 +3,7 @@ pagehelper.reasonable=true ...@@ -3,7 +3,7 @@ pagehelper.reasonable=true
pagehelper.supportMethodsArguments=true pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql pagehelper.params=count=countSql
spring.datasource.druid.url=jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&verifyServerCertificate=false&useSSL=false spring.datasource.druid.url=jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&verifyServerCertificate=false&useSSL=false&allowPublicKeyRetrieval=true
spring.datasource.druid.driver-class-name=com.mysql.jdbc.Driver spring.datasource.druid.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.druid.username=litemall spring.datasource.druid.username=litemall
spring.datasource.druid.password=litemall123456 spring.datasource.druid.password=litemall123456
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment