【8.0】【log】删掉没用的接口

pull/57/head
fengshuonan 2023-07-24 13:36:55 +08:00
parent 77652db0ff
commit e568248824
1 changed files with 0 additions and 62 deletions

View File

@ -8,13 +8,9 @@ import cn.stylefeng.roses.kernel.rule.pojo.response.ResponseData;
import cn.stylefeng.roses.kernel.rule.pojo.response.SuccessResponseData;
import cn.stylefeng.roses.kernel.scanner.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.scanner.api.annotation.GetResource;
import cn.stylefeng.roses.kernel.scanner.api.annotation.PostResource;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.List;
/**
*
@ -29,64 +25,6 @@ public class SysLogBusinessController {
@Resource
private SysLogBusinessService sysLogBusinessService;
/**
*
*
* @author fengshuonan
* @date 2023/07/21 19:02
*/
@PostResource(name = "添加", path = "/sysLogBusiness/add")
public ResponseData<SysLogBusiness> add(@RequestBody @Validated(SysLogBusinessRequest.add.class) SysLogBusinessRequest sysLogBusinessRequest) {
sysLogBusinessService.add(sysLogBusinessRequest);
return new SuccessResponseData<>();
}
/**
*
*
* @author fengshuonan
* @date 2023/07/21 19:02
*/
@PostResource(name = "删除", path = "/sysLogBusiness/delete")
public ResponseData<?> delete(@RequestBody @Validated(SysLogBusinessRequest.delete.class) SysLogBusinessRequest sysLogBusinessRequest) {
sysLogBusinessService.del(sysLogBusinessRequest);
return new SuccessResponseData<>();
}
/**
*
*
* @author fengshuonan
* @date 2023/07/21 19:02
*/
@PostResource(name = "编辑", path = "/sysLogBusiness/edit")
public ResponseData<?> edit(@RequestBody @Validated(SysLogBusinessRequest.edit.class) SysLogBusinessRequest sysLogBusinessRequest) {
sysLogBusinessService.edit(sysLogBusinessRequest);
return new SuccessResponseData<>();
}
/**
*
*
* @author fengshuonan
* @date 2023/07/21 19:02
*/
@GetResource(name = "查看详情", path = "/sysLogBusiness/detail")
public ResponseData<SysLogBusiness> detail(@Validated(SysLogBusinessRequest.detail.class) SysLogBusinessRequest sysLogBusinessRequest) {
return new SuccessResponseData<>(sysLogBusinessService.detail(sysLogBusinessRequest));
}
/**
*
*
* @author fengshuonan
* @date 2023/07/21 19:02
*/
@GetResource(name = "获取列表", path = "/sysLogBusiness/list")
public ResponseData<List<SysLogBusiness>> list(SysLogBusinessRequest sysLogBusinessRequest) {
return new SuccessResponseData<>(sysLogBusinessService.findList(sysLogBusinessRequest));
}
/**
*
*