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