Expose same-primary ranking on home/me for all staff including warehouse roles, and open the leaderboard API without business permission gates. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -89,6 +89,8 @@ export class PartnerDashboardController {
|
||||
}
|
||||
|
||||
@Get('leaderboard')
|
||||
/** 任意合伙人子账号可看同主账号排行(激励),不校验业务权限点 */
|
||||
@RequirePartnerPermissions()
|
||||
leaderboard(
|
||||
@CurrentUser() user: AuthUser,
|
||||
@Query('period') period?: string,
|
||||
|
||||
Reference in New Issue
Block a user