package com.ruoyi.management.controller; import com.ruoyi.common.core.domain.R; import com.ruoyi.common.security.service.TokenService; import com.ruoyi.management.domain.SlStoreManagementImg; import com.ruoyi.management.domain.dto.StoreManagementDTO; import com.ruoyi.management.domain.dto.StoreManagementimgDTO; import com.ruoyi.management.domain.dto.StoreManagementimgQuery; import com.ruoyi.management.service.SlStoreManagementImgService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; /** *
* 仓库对应平面图 前端控制器 *
* * @author hjl * @since 2024-06-25 */ @RestController @RequestMapping("/sl-store-management-img") @Api(value = "仓库对应平面图接口", tags = "仓库对应平面图接口", description = "仓库对应平面图接口") public class SlStoreManagementImgController { @Resource private TokenService tokenService; @Resource private SlStoreManagementImgService slStoreManagementImgService; @PostMapping("/addStoreManagementimg") @ApiOperation(value = "添加/修改仓库管理平面圖") public R addStoreManagementimg(@RequestBody StoreManagementimgDTO storeManagementimgDTO) { tokenService.getLoginUser(); return R.ok(slStoreManagementImgService.addStoreManagementimg(storeManagementimgDTO)); } @PostMapping("/getStoreManagementimgOne") @ApiOperation(value = "获取仓库管理平面圖") public R