|
|
@ -17,6 +17,7 @@ package me.zhengjie.modules.abmessage.rest;
|
|
|
|
|
|
|
|
|
|
|
|
import me.zhengjie.annotation.Log;
|
|
|
|
import me.zhengjie.annotation.Log;
|
|
|
|
import me.zhengjie.modules.abmessage.domain.AbMessage;
|
|
|
|
import me.zhengjie.modules.abmessage.domain.AbMessage;
|
|
|
|
|
|
|
|
import me.zhengjie.modules.abmessage.rest.vo.AbMessageVO;
|
|
|
|
import me.zhengjie.modules.abmessage.service.AbMessageService;
|
|
|
|
import me.zhengjie.modules.abmessage.service.AbMessageService;
|
|
|
|
import me.zhengjie.modules.abmessage.service.dto.AbMessageQueryCriteria;
|
|
|
|
import me.zhengjie.modules.abmessage.service.dto.AbMessageQueryCriteria;
|
|
|
|
import org.springframework.data.domain.Pageable;
|
|
|
|
import org.springframework.data.domain.Pageable;
|
|
|
@ -84,4 +85,30 @@ public class AbMessageController {
|
|
|
|
abMessageService.deleteAll(ids);
|
|
|
|
abMessageService.deleteAll(ids);
|
|
|
|
return new ResponseEntity<>(HttpStatus.OK);
|
|
|
|
return new ResponseEntity<>(HttpStatus.OK);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ========== 自定义功能 start ==========
|
|
|
|
|
|
|
|
@Log("建立ABMessage发送任务")
|
|
|
|
|
|
|
|
@ApiOperation("建立ABMessage发送任务")
|
|
|
|
|
|
|
|
@PreAuthorize("@el.check('abMessage:list')")
|
|
|
|
|
|
|
|
@PostMapping
|
|
|
|
|
|
|
|
public ResponseEntity<Object> buildTask(@Validated @RequestBody AbMessageVO abMessageVO){
|
|
|
|
|
|
|
|
return new ResponseEntity<>(HttpStatus.OK);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Log("ABMessage发送任务")
|
|
|
|
|
|
|
|
@ApiOperation("ABMessage发送任务")
|
|
|
|
|
|
|
|
@PreAuthorize("@el.check('abMessage:list')")
|
|
|
|
|
|
|
|
@PostMapping
|
|
|
|
|
|
|
|
public ResponseEntity<Object> sendTask(@Validated @RequestBody AbMessageVO abMessageVO){
|
|
|
|
|
|
|
|
return new ResponseEntity<>(HttpStatus.OK);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Log("ABMessage发送任务")
|
|
|
|
|
|
|
|
@ApiOperation("ABMessage发送任务")
|
|
|
|
|
|
|
|
@PreAuthorize("@el.check('abMessage:list')")
|
|
|
|
|
|
|
|
@PostMapping
|
|
|
|
|
|
|
|
public ResponseEntity<Object> query(@Validated @RequestBody AbMessageVO abMessageVO){
|
|
|
|
|
|
|
|
return new ResponseEntity<>(HttpStatus.OK);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// ========== 自定义功能 end ==========
|
|
|
|
}
|
|
|
|
}
|