add:开发
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package cn.code.nl.module.system.job.slitter;
|
||||
|
||||
import cn.code.nl.framework.tenant.core.job.TenantJob;
|
||||
import com.xxl.job.core.handler.annotation.XxlJob;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
/**
|
||||
* 自动套轴任务创建
|
||||
*/
|
||||
@Component
|
||||
public class AutoCallAirShaftTask {
|
||||
|
||||
|
||||
|
||||
@XxlJob("autoCallAirShaftTask")
|
||||
@TenantJob
|
||||
public void execute() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -7,12 +7,12 @@ spring:
|
||||
username: # Nacos 账号
|
||||
password: # Nacos 密码
|
||||
discovery: # 【配置中心】配置项
|
||||
namespace: dev # 命名空间。这里使用 dev 开发环境
|
||||
namespace: 9a321b6b-68c6-45e1-90b0-bc187d7c29bb # 命名空间。这里使用 dev 开发环境
|
||||
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
|
||||
metadata:
|
||||
version: 1.0.0 # 服务实例的版本号,可用于灰度发布
|
||||
config: # 【注册中心】配置项
|
||||
namespace: dev # 命名空间。这里使用 dev 开发环境
|
||||
namespace: 9a321b6b-68c6-45e1-90b0-bc187d7c29bb # 命名空间。这里使用 dev 开发环境
|
||||
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
|
||||
|
||||
--- #################### 数据库相关配置 ####################
|
||||
@@ -99,7 +99,7 @@ xxl:
|
||||
accessToken: 123456 # 执行器通讯TOKEN
|
||||
executor:
|
||||
ip: 192.168.81.193
|
||||
port: 9992
|
||||
port: 9982
|
||||
|
||||
--- #################### 服务保障相关配置 ####################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user