修改商品信息
parent
c859eed9f8
commit
0c740780d8
|
@ -77,8 +77,8 @@ public class ProjectInfoController extends BaseController {
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
@ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class)
|
@ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class)
|
||||||
public Result<ProjectInfo> getInfo(@PathVariable("id") Long id) {
|
public Result<ProjectInfo> getInfo(@PathVariable("id") Long id) {
|
||||||
ProjectInfo projectInfo = projectInfoCache.get(id);
|
ProjectInfo serviceById = projectInfoService.getById(id);
|
||||||
return Result.success(projectInfo);
|
return Result.success(serviceById);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue