|
|
@ -1,8 +1,10 @@
|
|
|
|
package com.hyp.web.controller.reward;
|
|
|
|
package com.hyp.web.controller.reward;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.hyp.common.annotation.Log;
|
|
|
|
import com.hyp.common.config.HypConfig;
|
|
|
|
import com.hyp.common.config.HypConfig;
|
|
|
|
import com.hyp.common.core.controller.BaseController;
|
|
|
|
import com.hyp.common.core.controller.BaseController;
|
|
|
|
import com.hyp.common.core.domain.AjaxResult;
|
|
|
|
import com.hyp.common.core.domain.AjaxResult;
|
|
|
|
|
|
|
|
import com.hyp.common.enums.BusinessType;
|
|
|
|
import com.hyp.common.utils.file.FileUploadUtils;
|
|
|
|
import com.hyp.common.utils.file.FileUploadUtils;
|
|
|
|
import com.hyp.common.utils.file.FileUtils;
|
|
|
|
import com.hyp.common.utils.file.FileUtils;
|
|
|
|
import com.hyp.framework.config.ServerConfig;
|
|
|
|
import com.hyp.framework.config.ServerConfig;
|
|
|
@ -102,6 +104,7 @@ public class FileRelationController extends BaseController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("材料删除")
|
|
|
|
@ApiOperation("材料删除")
|
|
|
|
|
|
|
|
@Log(title = "材料删除", businessType = BusinessType.DELETE)
|
|
|
|
@GetMapping("/delFile/{fileId}")
|
|
|
|
@GetMapping("/delFile/{fileId}")
|
|
|
|
public AjaxResult delFile(@PathVariable String fileId){
|
|
|
|
public AjaxResult delFile(@PathVariable String fileId){
|
|
|
|
return toAjax(fileRelationManager.delFile(fileId));
|
|
|
|
return toAjax(fileRelationManager.delFile(fileId));
|
|
|
|