mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-29 17:55:24 +00:00
feat: 账单模块
This commit is contained in:
@@ -41,6 +41,14 @@ export const createHashPassword = (text: string) => {
|
||||
return hash;
|
||||
};
|
||||
|
||||
export const Obj2Query = (obj: Record<string, string | number>) => {
|
||||
const queryParams = new URLSearchParams();
|
||||
for (const key in obj) {
|
||||
queryParams.append(key, `${obj[key]}`);
|
||||
}
|
||||
return queryParams.toString();
|
||||
};
|
||||
|
||||
/**
|
||||
* 读取文件内容
|
||||
*/
|
||||
|
Reference in New Issue
Block a user