修改接口请求方式
This commit is contained in:
parent
fcec2807ef
commit
227fe9b77a
|
|
@ -167,8 +167,8 @@ public class InvoicingApi {
|
||||||
|
|
||||||
@ApiOperation(value="修改库房物料是否启用", notes="修改库房物料是否启用")
|
@ApiOperation(value="修改库房物料是否启用", notes="修改库房物料是否启用")
|
||||||
@AutoLog(value = "修改库房物料是否启用")
|
@AutoLog(value = "修改库房物料是否启用")
|
||||||
@GetMapping(value = "/updateWarehouserEnabled")
|
@PostMapping(value = "/updateWarehouserEnabled")
|
||||||
public Result<String> updateWarehouserEnabled(MaterialInfoEntity materialInfoEntity, HttpServletRequest req) {
|
public Result<String> updateWarehouserEnabled(@RequestBody MaterialInfoEntity materialInfoEntity, HttpServletRequest req) {
|
||||||
invoicingApi.updateWarehouserEnabled(materialInfoEntity);
|
invoicingApi.updateWarehouserEnabled(materialInfoEntity);
|
||||||
return Result.OK("操作成功");
|
return Result.OK("操作成功");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue