加定时任务白名单
This commit is contained in:
@@ -162,8 +162,12 @@ public class Constants
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 定时任务白名单配置(仅允许访问的包名,如其他需要可以自行添加)
|
* 定时任务白名单配置(仅允许访问的包名,如其他需要可以自行添加)
|
||||||
|
* com.bms.customer 覆盖客户/供应商资料同步、客户授信到期等业务任务包;
|
||||||
|
* com.bms.masterdata.task 为渠道产品主数据同步任务;com.bms.notify.task 为客户超额通知;
|
||||||
|
* com.bms.price.task 为价格/产品状态刷新任务
|
||||||
*/
|
*/
|
||||||
public static final String[] JOB_WHITELIST_STR = { "com.bms.quartz.task" };
|
public static final String[] JOB_WHITELIST_STR = { "com.bms.quartz.task", "com.bms.customer",
|
||||||
|
"com.bms.masterdata.task", "com.bms.notify.task", "com.bms.price.task" };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 定时任务违规的字符
|
* 定时任务违规的字符
|
||||||
|
|||||||
Reference in New Issue
Block a user