整理代码

20230922-ljl-fixBug
laixiongwei 1 year ago
parent 0406243add
commit e9641aba89

@ -0,0 +1,27 @@
package com.ms.api;
import com.jinritemai.cloud.base.api.BaseRequest;
import com.jinritemai.cloud.base.api.BaseResponse;
import com.jinritemai.cloud.base.api.ExtensionService;
import com.jinritemai.cloud.base.api.ExtensionServiceHandler;
import lombok.extern.slf4j.Slf4j;
/**
* @Author: laixw
* @Date: 2023/8/23
*/
@ExtensionService("TaskRun")
@Slf4j
public class TaskService implements ExtensionServiceHandler<ItemDTO, Void> {
@Override
public BaseResponse<Void> handle(BaseRequest<ItemDTO> req) {
// 业务逻辑处理
// do something...
// db.save(itemDTO);
log.info("TaskService...");
return BaseResponse.<Void>builder()
.build();
}
}
Loading…
Cancel
Save