Browse Source

mapping重复

shiqian 3 years ago
parent
commit
597514804c

+ 1 - 1
boman-web-core/src/main/java/com/boman/web/core/controller/CzrkController.java

@@ -91,7 +91,7 @@ public class CzrkController extends BaseController {
      */
      */
 //    @PreAuthorize("@ss.hasPermi('system:czrk:remove')")
 //    @PreAuthorize("@ss.hasPermi('system:czrk:remove')")
     @Log(title = "常住人口", businessType = BusinessType.DELETE)
     @Log(title = "常住人口", businessType = BusinessType.DELETE)
-    @GetMapping("/{id}")
+    @GetMapping("delete/{id}")
     public AjaxResult deleteCzrk(@PathVariable("id") Long id) {
     public AjaxResult deleteCzrk(@PathVariable("id") Long id) {
         return toAjax(czrkService.deleteCzrk(id));
         return toAjax(czrkService.deleteCzrk(id));
     }
     }