飞书事件变更,mq更新
This commit is contained in:
@@ -38,8 +38,6 @@ import java.util.List;
|
||||
@RequestMapping("test/")
|
||||
public class TestController {
|
||||
|
||||
@Resource
|
||||
private SimpleMessageService simpleMessageService;
|
||||
@Resource
|
||||
private EnterpriseUserService enterpriseUserService;
|
||||
@Resource
|
||||
@@ -49,15 +47,6 @@ public class TestController {
|
||||
@Resource
|
||||
private EnterpriseSyncService enterpriseSyncService;
|
||||
|
||||
|
||||
@GetMapping("/sendMq")
|
||||
public ResponseResult sendMq(){
|
||||
String msg = UUIDUtils.get8UUID();
|
||||
log.info("msg:{}", msg);
|
||||
simpleMessageService.send(msg, RocketMqTagEnum.TEST);
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
@PostMapping("/post")
|
||||
public ResponseResult<Boolean> get(@RequestBody List<TestRequest> testRequestList){
|
||||
log.info(JSONObject.toJSONString(testRequestList));
|
||||
|
||||
Reference in New Issue
Block a user