Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
fd89e50c
Commit
fd89e50c
authored
Jul 15, 2018
by
Menethil
Browse files
修改配置文件,默认编译admin为本地
修改默认的SQL链接,添加allowPubilcKeyRetrieval
parent
f566a198
Changes
4
Hide whitespace changes
Inline
Side-by-side
litemall-admin-api/src/main/resources/application-dev.properties
View file @
fd89e50c
...
...
@@ -3,7 +3,7 @@ pagehelper.reasonable=true
pagehelper.supportMethodsArguments
=
true
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.username
=
litemall
spring.datasource.druid.password
=
litemall123456
...
...
litemall-admin/config/dep.env.js
View file @
fd89e50c
module
.
exports
=
{
NODE_ENV
:
'
"production"
'
,
ENV_CONFIG
:
'
"dep"
'
,
BASE_API
:
'
"http://
122.152.206.172
:8083/admin"
'
,
OS_API
:
'
"http://
122.152.206.172
:8081/os"
'
BASE_API
:
'
"http://
localhost
:8083/admin"
'
,
OS_API
:
'
"http://
localhost
:8081/os"
'
}
litemall-os-api/src/main/resources/application-dev.properties
View file @
fd89e50c
...
...
@@ -3,7 +3,7 @@ pagehelper.reasonable=true
pagehelper.supportMethodsArguments
=
true
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.username
=
litemall
spring.datasource.druid.password
=
litemall123456
...
...
@@ -26,7 +26,7 @@ logging.level.org.mybatis=ERROR
logging.level.org.linlinjava.litemall.db
=
ERROR
logging.level.org.linlinjava.litemall
=
ERROR
#
开发者应该设置成自己的域名,必须附带http或者
https
#
开发者可以查看
OsStorageController.generateUrl
#
\u5F00\u53D1\u8005\u5E94\u8BE5\u8BBE\u7F6E\u6210\u81EA\u5DF1\u7684\u57DF\u540D\uFF0C\u5FC5\u987B\u9644\u5E26http\u6216\u8005
https
#
\u5F00\u53D1\u8005\u53EF\u4EE5\u67E5\u770B
OsStorageController.generateUrl
org.linlinjava.litemall.os.address
=
http://127.0.0.1
org.linlinjava.litemall.os.port
=
8081
\ No newline at end of file
litemall-wx-api/src/main/resources/application-dev.properties
View file @
fd89e50c
...
...
@@ -3,7 +3,7 @@ pagehelper.reasonable=true
pagehelper.supportMethodsArguments
=
true
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.username
=
litemall
spring.datasource.druid.password
=
litemall123456
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment