|
@@ -34,10 +34,8 @@ import io.swagger.annotations.ApiParam;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -416,14 +414,11 @@ public class KuaishouItemCollectSamplesController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- /**
|
|
|
- * 删除【请填写功能名称】
|
|
|
- */
|
|
|
- @PreAuthorize("@ss.hasPermi('system:samples:remove')")
|
|
|
- @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
|
|
- @DeleteMapping("/{ids}")
|
|
|
- public AjaxResult remove(@PathVariable Long[] ids) {
|
|
|
- return toAjax(kuaishouItemCollectSamplesService.deleteKuaishouItemCollectSamplesByIds(ids));
|
|
|
+
|
|
|
+
|
|
|
+ @DeleteMapping("/remove")
|
|
|
+ public AjaxResult remove( Long id) {
|
|
|
+ return toAjax(kuaishouItemCollectSamplesService.deleteKuaishouItemCollectSamplesById(id));
|
|
|
}
|
|
|
|
|
|
/**
|