MrShi
2026-03-06 cdca21c0c12fa79ad4e85321d0f0960c0c4c3f33
server/dmmall_admin/src/main/java/com/doumee/api/business/ShopController.java
@@ -38,7 +38,7 @@
    @ApiOperation("新建")
    @PostMapping("/create")
    @RequiresPermissions("business:shop:create")
    public ApiResponse create(@RequestBody Shop shop) {
    public ApiResponse create(@RequestBody Shop shop) throws Exception {
        return ApiResponse.success(shopService.create(shop));
    }
    @PreventRepeat
@@ -73,7 +73,7 @@
    @ApiOperation("根据ID修改")
    @PostMapping("/updateById")
    @RequiresPermissions("business:shop:update")
    public ApiResponse updateById(@RequestBody Shop shop) {
    public ApiResponse updateById(@RequestBody Shop shop) throws Exception {
        shopService.updateById(shop);
        return ApiResponse.success(null);
    }