|
|
|
|
@ -13,6 +13,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping("/p/user/portfolio")
|
|
|
|
|
@ -45,9 +46,9 @@ public class UserPortfolioController {
|
|
|
|
|
|
|
|
|
|
@PostMapping("/detail")
|
|
|
|
|
@Operation(summary = "会员列表", description = "会员列表")
|
|
|
|
|
public ServerResponseEntity<UserPortfolio> detail(@RequestParam String profileId) {
|
|
|
|
|
|
|
|
|
|
UserPortfolio userPortfolio = userPortfolioService.getOne(new LambdaQueryWrapper<UserPortfolio>().eq(UserPortfolio::getPortfolioId, profileId));
|
|
|
|
|
public ServerResponseEntity<UserPortfolio> detail(@RequestBody Map<String,String> map) {
|
|
|
|
|
String portfolioId = map.get("portfolioId");
|
|
|
|
|
UserPortfolio userPortfolio = userPortfolioService.getOne(new LambdaQueryWrapper<UserPortfolio>().eq(UserPortfolio::getPortfolioId, portfolioId));
|
|
|
|
|
return ServerResponseEntity.success(userPortfolio);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|