修改接口请求方式
This commit is contained in:
parent
fcec2807ef
commit
227fe9b77a
|
|
@ -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("操作成功");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue