Functions
Const Private format
- format(url: string, params: Record<string, string | number>): string
-
Parameters
-
url: string
-
params: Record<string, string | number>
Returns string
转换参数后的 API URL
minutesToSecond
- minutesToSecond(minutes: number): number
-
Parameters
Returns number
reverseString
- reverseString(str: string): string
-
Parameters
Returns string
secondToMinutes
- secondToMinutes(minutes: number): number
-
Parameters
Returns number
转换 API 参数