修改接口请求方式

This commit is contained in:
yangjun 2025-10-27 15:41:21 +08:00
parent fcec2807ef
commit 227fe9b77a
1 changed files with 2 additions and 2 deletions

View File

@ -167,8 +167,8 @@ public class InvoicingApi {
@ApiOperation(value="修改库房物料是否启用", notes="修改库房物料是否启用")
@AutoLog(value = "修改库房物料是否启用")
@GetMapping(value = "/updateWarehouserEnabled")
public Result<String> updateWarehouserEnabled(MaterialInfoEntity materialInfoEntity, HttpServletRequest req) {
@PostMapping(value = "/updateWarehouserEnabled")
public Result<String> updateWarehouserEnabled(@RequestBody MaterialInfoEntity materialInfoEntity, HttpServletRequest req) {
invoicingApi.updateWarehouserEnabled(materialInfoEntity);
return Result.OK("操作成功");
}