Commit 3560ef9e authored by danfuman's avatar danfuman

Merge branch 'V20231129-中建一局二公司' of http://192.168.60.201/root/dsk-operate-sys...

Merge branch 'V20231129-中建一局二公司' of http://192.168.60.201/root/dsk-operate-sys into V20231129-中建一局二公司
parents 4df56485 08555b65
package com.dsk.web.schedule;
import com.dsk.system.service.ISysPushService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
/**
* 推送相关定时任务
*
* @Author lcl
* @Data 2023/12/21 17:05
*/
@Component
@RequiredArgsConstructor
@Slf4j
public class PushTask {
@Autowired
private ISysPushService pushService;
/**
* 供应商不良推送(每分钟)
*/
@Scheduled(cron = "0 * * * * ? ")
public void customerBadness(){
//1.是否推送时间段(日期、时间)
//2.推送数据(当前时段是否存在数据)
//3.推送人员
}
}
......@@ -167,11 +167,11 @@ sms:
#请求地址 默认为 dysmsapi.aliyuncs.com 如无特殊改变可以不用设置
requestUrl: dysmsapi.aliyuncs.com
#阿里云的accessKey
accessKeyId: LTAIC4Pb2jJZbUmD
accessKeyId: LTAIFKlRP50kOB5b
#阿里云的accessKeySecret
accessKeySecret: L7VANFwqaTludkczLsg9jhvidk0e28
accessKeySecret: I2HvinEcSgiJPFOhRbKKP1jl1wH5E3
#短信签名
signature: 大司空信息科技
signature: 中建一局二公司
tencent:
#请求地址默认为 sms.tencentcloudapi.com 如无特殊改变可不用设置
requestUrl: sms.tencentcloudapi.com
......
package com.dsk.common.constant;
/**
* 推送相关
*/
public interface PushConstants {
/**
* 供应商不良推送短信模板
*/
String CUSTOMEER_BADNESS_SMS = "SMS_464311026";
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment