- nginx的配置文件
- 商城管理平台
server {
listen 9001;
server_name localhost;
location / {
# 自己的盘符地址,路径不要有中文和特殊字符 例如 D:/lesson/heima/code/hm-mall-admin
root 自己盘符地址/hm-mall-admin;
}
} - 商城门户平台
server {
listen 9002;
server_name localhost;
location / {
# 自己的盘符地址,路径不要有中文和特殊字符 例如 D:/lesson/heima/code/hm-mall-portal
root 自己盘符地址/hm-mall-portal;
}
}
nginx的配置文件
商城管理平台
server {
listen 9001;
server_name localhost;
location / {
# 自己的盘符地址,路径不要有中文和特殊字符 例如 D:/lesson/heima/code/hm-mall-admin
root 自己盘符地址/hm-mall-admin;
}
}
商城门户平台
server {
listen 9002;
server_name localhost;
location / {
# 自己的盘符地址,路径不要有中文和特殊字符 例如 D:/lesson/heima/code/hm-mall-portal
root 自己盘符地址/hm-mall-portal;
}
}
mybatis-plus:
type-aliases-package: com.hmall.*.pojo
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
update-strategy: not_null
id-type: auto
spring:
datasource:
url: jdbc:mysql://192.168.94.129:3306/xxxx?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=false
username: root
password: itcast142
driver-class-name: com.mysql.jdbc.Driver
spring:
datasource:
url: jdbc:mysql://192.168.94.129:3306/hmall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=false
aa: xx
spring:
datasource:
url: jdbc:mysql://192.168.94.129:3306/xxxx?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=false
username: root
password: itcast142
driver-class-name: com.mysql.jdbc.Driver