1
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package com.ruoyi.jarvis.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 闲管家订单:MQ 主题、定时拉单与自动发货调度
|
||||
*/
|
||||
@Data
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "jarvis.goofish-order")
|
||||
public class JarvisGoofishProperties {
|
||||
|
||||
/** RocketMQ Topic(需配置 rocketmq.name-server 后生效) */
|
||||
private String mqTopic = "jarvis-goofish-erp-order";
|
||||
|
||||
private String consumerGroup = "jarvis-goofish-order-consumer";
|
||||
|
||||
/** 回溯拉单小时数 */
|
||||
private int pullLookbackHours = 72;
|
||||
|
||||
/** 拉单定时 cron */
|
||||
private String pullCron = "0 0/15 * * * ?";
|
||||
|
||||
/** 同步运单 + 自动发货 cron */
|
||||
private String autoShipCron = "0 2/10 * * * ?";
|
||||
|
||||
/** 单次拉单每店最大页数防护 */
|
||||
private int pullMaxPagesPerShop = 30;
|
||||
|
||||
private int autoShipBatchSize = 20;
|
||||
}
|
||||
Reference in New Issue
Block a user