refactor: 收口 Admin 会话与授权边界
This commit is contained in:
1 parent
0788480ce3
commit
4ef4be2071
67 files changed
+1890
-392
No files matched your search
@@ -15,7 +15,7 @@ export interface BrandMethods {
|
||||
listAdminBrands(): Promise<AdminBrandMembership[]>;
|
||||
switchAdminBrand(
|
||||
brandId: string,
|
||||
): Promise<{ token: string; role: string; brand: AdminBrandMembership["brand"] }>;
|
||||
): Promise<{ role: string; brand: AdminBrandMembership["brand"] }>;
|
||||
listAdminMembers(): Promise<AdminBrandMember[]>;
|
||||
createAdminMember(body: {
|
||||
username: string;
|
||||
|
||||
Reference in new issue
Block a user