feat: 修改代码结构

This commit is contained in:
2025-08-15 09:16:02 -07:00
parent 5524d25d9a
commit 525e305f1d
17 changed files with 256 additions and 63 deletions
+7 -1
View File
@@ -32,11 +32,17 @@ export async function queryUserAffiliateList(
}
/** Query User Balance Log GET /v1/public/user/balance_log */
export async function queryUserBalanceLog(options?: { [key: string]: any }) {
export async function queryUserBalanceLog(
params: API.QueryUserAffiliateListParams,
options?: { [key: string]: any },
) {
return request<API.Response & { data?: API.QueryUserBalanceLogListResponse }>(
'/v1/public/user/balance_log',
{
method: 'GET',
params: {
...params,
},
...(options || {}),
},
);