mirror of https://gitee.com/stylefeng/roses
【7.2.2】【expand】恢复删除expandData数据接口
parent
d9365ca376
commit
02a1680289
|
@ -8,7 +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;
|
||||
|
@ -27,6 +29,18 @@ public class SysExpandDataController {
|
|||
@Resource
|
||||
private SysExpandDataService sysExpandDataService;
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*
|
||||
* @author fengshuonan
|
||||
* @date 2022/03/29 23:47
|
||||
*/
|
||||
@PostResource(name = "删除", path = "/sysExpandData/delete")
|
||||
public ResponseData<?> delete(@RequestBody @Validated(SysExpandDataRequest.delete.class) SysExpandDataRequest sysExpandDataRequest) {
|
||||
sysExpandDataService.del(sysExpandDataRequest);
|
||||
return new SuccessResponseData<>();
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看详情
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue