feat: 群认证

This commit is contained in:
chashaobao
2025-10-13 23:33:58 +08:00
parent 11f2624889
commit 4991720abb
10 changed files with 549 additions and 10 deletions

5
src/services/utils.ts Normal file
View File

@ -0,0 +1,5 @@
export function buildUrl(url: string, params: Record<string, string | number>): string {
return Object.entries(params).reduce((result, [key, value]) => {
return result.replace(new RegExp(`\\{${key}\\}`, 'g'), String(value));
}, url);
}