修改些注释

pull/6/head
3y 3 years ago
parent 4b5072e0bb
commit e3fe1e12c7

@ -74,7 +74,7 @@ austin项目**核心流程**`austin-api`接收到发送消息请求,直接
```shell ```shell
curl -XPOST "127.0.0.1:8080/send" -H 'Content-Type: application/json' -d '{"code":"send","messageParam":{"receiver":"13788888888","variables":{"title":"yyyyyy","contentValue":"6666164180"}},"messageTemplateId":1}' curl -XPOST "127.0.0.1:8080/send" -H 'Content-Type: application/json' -d '"{"code":"send","messageParam":{"extra":null,"receiver":"13719333899","variables":{"content":"2222","url":"1111"}},"messageTemplateId":1}"'
``` ```

@ -71,6 +71,7 @@ public class ReadFileUtils {
* @param path * @param path
* @return * @return
*/ */
@Deprecated
public static List<CrowdInfoVo> getCsvRowList(String path) { public static List<CrowdInfoVo> getCsvRowList(String path) {
List<CrowdInfoVo> result = new ArrayList<>(); List<CrowdInfoVo> result = new ArrayList<>();
try { try {

@ -91,7 +91,7 @@ public class MessageTemplateServiceImpl implements MessageTemplateService {
@Override @Override
public BasicResultVO startCronTask(Long id) { public BasicResultVO startCronTask(Long id) {
// 1.修改模板状态 // 1.获取消息模板的信息
MessageTemplate messageTemplate = messageTemplateDao.findById(id).get(); MessageTemplate messageTemplate = messageTemplateDao.findById(id).get();
// 2.动态创建或更新定时任务 // 2.动态创建或更新定时任务

@ -60,7 +60,7 @@ CREATE TABLE `sms_record`
-- 短信测试 -- 短信测试
INSERT INTO austin.message_template (id, name, audit_status, flow_id, msg_status, cron_task_id, cron_crowd_path, expect_push_time, id_type, send_channel, template_type, msg_type, msg_content, send_account, creator, updator, auditor, team, proposer, is_deleted, created, updated) VALUES (1, '短信测试', 10, '', 10, null, '', '', 30, 30, 20, 20, '{"content":"6666","url":"","title":""}', 10, 'Java3y', 'Java3y', '3y', '公众号Java3y', '3y', 0, 1644387139, 1644387139); INSERT INTO austin.message_template (id, name, audit_status, flow_id, msg_status, cron_task_id, cron_crowd_path, expect_push_time, id_type, send_channel, template_type, msg_type, msg_content, send_account, creator, updator, auditor, team, proposer, is_deleted, created, updated) VALUES (1, '短信测试', 10, '', 10, null, '', '', 30, 30, 20, 20, '{"content":"{$content}","url":"{$url}","title":""}', 10, 'Java3y', 'Java3y', '3y', '公众号Java3y', '3y', 0, 1644387139, 1644387139);
-- 邮件测试 -- 邮件测试
INSERT INTO austin.message_template (id, name, audit_status, flow_id, msg_status, cron_task_id, cron_crowd_path, expect_push_time, id_type, send_channel, template_type, msg_type, msg_content, send_account, creator, updator, auditor, team, proposer, is_deleted, created, updated) VALUES (2, '测试邮件', 10, '', 10, null, '', '', 50, 40, 20, 10, '{"content":"4344444444","url":"","title":"6666666"}', 10, 'Java3y', 'Java3y', '3y', '公众号Java3y', '3y', 0, 1644387638, 1644387638); INSERT INTO austin.message_template (id, name, audit_status, flow_id, msg_status, cron_task_id, cron_crowd_path, expect_push_time, id_type, send_channel, template_type, msg_type, msg_content, send_account, creator, updator, auditor, team, proposer, is_deleted, created, updated) VALUES (2, '测试邮件', 10, '', 10, null, '', '', 50, 40, 20, 10, '{"content":"4344444444","url":"","title":"6666666"}', 10, 'Java3y', 'Java3y', '3y', '公众号Java3y', '3y', 0, 1644387638, 1644387638);
Loading…
Cancel
Save