feat(dealer): 添加经销商申请功能并优化用户相关页面

- 新增经销商申请页面和相关组件- 更新用户中心页面,增加经销商状态显示和申请入口
- 修改登录逻辑,支持获取用户手机号- 优化用户钩子,增加获取用户ID和判断超级管理员权限的功能
This commit is contained in:
2025-08-18 01:18:19 +08:00
parent f73bfeb743
commit 13b3d6407b
11 changed files with 376 additions and 46 deletions

View File

@@ -37,5 +37,7 @@ export interface ShopDealerApply {
*/
export interface ShopDealerApplyParam extends PageParam {
applyId?: number;
mobile?: string;
userId?: number;
keywords?: string;
}

View File

@@ -45,5 +45,7 @@ export interface ShopDealerUser {
*/
export interface ShopDealerUserParam extends PageParam {
id?: number;
phone?: string;
userId?: number;
keywords?: string;
}