项目名称:拉新营销平台
业务:
⽤户服务:⽤户注册/登录、 头像和信息维护、 收货地址模块
优惠券服务:展示和领劵、 使⽤和释放,
商品服务:商品基本展示库存扣减回收、 购物⻋模块
订单服务:下单⽀付、 订单基本操作
https://blog.virtualagent.cn/blog/series/Project_XD_Paas
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.5 KiB
60 lines
1.5 KiB
server:
|
|
port: 9001
|
|
spring:
|
|
application:
|
|
name: nla-user-service
|
|
redis:
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
database: 0
|
|
password: yuan123456
|
|
#数据库配置
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://117.72.43.105:3306/p_nla_user?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
|
username: root
|
|
password: Yuan625621105.
|
|
mail:
|
|
host: smtp.qq.com
|
|
username: 625621105@qq.com
|
|
password: iqaadvnrobajbfef
|
|
from: 625621105@qq.com
|
|
properties.mail.smtp.starttls.enable: true
|
|
properties.mail.smtp.starttls.required: true
|
|
properties.mail.smtp.ssl.enable: true
|
|
default-encoding: utf-8
|
|
cloud:
|
|
#注册中心地址
|
|
nacos:
|
|
discovery:
|
|
server-addr: 117.72.43.105:8848
|
|
# username: nacos
|
|
# password: sW5U%pxecL#p
|
|
# namespace: yjs
|
|
|
|
#配置plus打印sql⽇志
|
|
mybatis-plus:
|
|
configuration:
|
|
log-impl:
|
|
org.apache.ibatis.logging.stdout.StdOutImpl
|
|
#设置⽇志级别,ERROR/WARN/INFO/DEBUG,默认是INFO以上才显示
|
|
#logging:
|
|
# level:
|
|
# root: INFO
|
|
|
|
#阿里云OSS配置
|
|
aliyun:
|
|
oss:
|
|
endpoint: oss-cn-beijing.aliyuncs.com
|
|
access-key-id: LTAI5tGbV7aVMVKSnoDwmFUY
|
|
access-key-secret: U4W5fsdxjAh5f3udizbYNFdUldD8pZ
|
|
bucketname: yzdan
|
|
|
|
#seata配置
|
|
seata:
|
|
tx-service-group: ${spring.application.name}-group
|
|
service:
|
|
grouplist:
|
|
nla: 127.0.0.1:8091
|
|
vgroup-mapping:
|
|
nla-user-service-group: nla
|
|
|