修改商品信息

cloud-server
刘河平 2024-11-17 19:50:01 +08:00
parent c859eed9f8
commit 0c740780d8
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
/**