|
|
@@ -81,7 +81,7 @@ public class DistributeRankController {
|
|
|
*/
|
|
|
@GetMapping("/get/personal")
|
|
|
public Result<DistributeUserRankPersonalView> getPersonal(@RequestParam(defaultValue = "0") Integer type, @RequestParam(defaultValue = "week") String statisticsType, @RequestParam(defaultValue = "1") Integer start, @RequestParam(defaultValue = "5") Integer limit) {
|
|
|
- long userId = StpUserUtil.getLoginIdAsLong();
|
|
|
+ long userId = 234261;
|
|
|
DistributeUserRankPersonalView distributeUserRankPersonalView = new DistributeUserRankPersonalView();
|
|
|
String orderByField = Constant.money;
|
|
|
//订单排行
|
|
|
@@ -120,7 +120,7 @@ public class DistributeRankController {
|
|
|
ranks.getRecords().forEach(rank->{
|
|
|
if (ObjectUtil.equal(userId, rank.getUserId())) {
|
|
|
//在前10
|
|
|
- rank.setIsPrize(true);
|
|
|
+ self.setIsPrize(true);
|
|
|
rank.setUserId(null);
|
|
|
}
|
|
|
});
|