|
@@ -835,9 +835,9 @@ public class RMScontroller {
|
|
|
|
|
|
@ApiOperation(value = "更新公告信息", notes = "根据dilNotice对象创建")
|
|
|
@ApiImplicitParam(name = "dilNotice", value = "详细实体dilNotice", required = true, dataType = "dilNotice")
|
|
|
- @PostMapping(value = "/updateOilPrice", produces = "application/json;charset=UTF-8")
|
|
|
- public Map<String, Object> updateOilPrice(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
- return rmsFeign.updateOilPrice(map);
|
|
|
+ @PostMapping(value = "/updateOilPrice/{id}")
|
|
|
+ public Map<String, Object> updateOilPrice(@PathVariable("id") Integer id) {
|
|
|
+ return rmsFeign.updateOilPrice(id);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value="删除", notes="根据url的id来指定删除对象")
|