提交 96dd4875 authored 作者: 李炎's avatar 李炎

修改接口返回格式

上级 43333873
......@@ -87,9 +87,9 @@ public class MaterialinventoryController extends JeecgController<Materialinvento
@AutoLog(value = "国网供应商重点原材料库存API-添加")
@ApiOperation(value="国网供应商重点原材料库存API-添加", notes="国网供应商重点原材料库存API-添加")
@PostMapping(value = "/add")
public Result<?> add(@RequestBody Materialinventory materialinventory) {
public Request<?> add(@RequestBody Materialinventory materialinventory) {
materialinventoryService.save(materialinventory);
return Result.OK(Lanjieqi_API.autowired(materialinventory.getId()));
return Request.OK(Lanjieqi_API.autowired(materialinventory.getId()));
}
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论