feat: 项目接口联调
This commit is contained in:
8
src/api/user.ts
Normal file
8
src/api/user.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type {UserAssetsParams, UserAssetsResponse} from "@/types/user.type.ts";
|
||||
import {http} from "@/lib";
|
||||
|
||||
/** @description 用户资产*/
|
||||
export const userAssets = (params: UserAssetsParams) => http.get<UserAssetsResponse>('v1/mall/assets', {
|
||||
searchParams: params,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user