调整 pay-service-impl 的包,增加 biz 包
增加定时任务,使用 xxl-job
This commit is contained in:
@@ -10,7 +10,7 @@ spring:
|
||||
mybatis:
|
||||
config-location: classpath:mybatis-config.xml
|
||||
mapper-locations: classpath:mapper/*.xml
|
||||
type-aliases-package: cn.iocoder.mall.pay.dataobject
|
||||
type-aliases-package: cn.iocoder.mall.pay.biz.dataobject
|
||||
|
||||
# dubbo
|
||||
dubbo:
|
||||
@@ -22,4 +22,18 @@ dubbo:
|
||||
port: -1
|
||||
name: dubbo
|
||||
scan:
|
||||
base-packages: cn.iocoder.mall.pay.service
|
||||
base-packages: cn.iocoder.mall.pay.biz.service
|
||||
|
||||
# xxl-job
|
||||
|
||||
xxl:
|
||||
job:
|
||||
admin:
|
||||
addresses: http://127.0.0.1:8080/xxl-job-admin
|
||||
executor:
|
||||
appname: pay-job-executor
|
||||
ip:
|
||||
port: 0
|
||||
logpath: /Users/yunai/logs/xxl-job/
|
||||
logretentiondays: 1
|
||||
accessToken:
|
||||
Reference in New Issue
Block a user