MrShi
12 小时以前 ac33a3140ef8ef20dfd2537fce2dfdd0f374f30e
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);
    }