This commit is contained in:
2025-11-25 17:19:25 +08:00
20 changed files with 1828 additions and 740 deletions

View File

@@ -39,11 +39,11 @@ export async function getVipInfo() {
* @param current 当前页码
* @param limit 每页数量
*/
export async function getOrderList(current: number, limit: number, orderStatus: string) {
export async function getOrderList(page: number, limit: number, orderStatus: string) {
const res = await mainClient.request<IApiResponse<{ orders: IPageData<IOrder> }>>({
url: 'common/buyOrder/commonBuyOrderList',
method: 'POST',
data: { current, limit, orderStatus, come: '10', userId: uni.getStorageSync('userInfo').id }
data: { page, limit, orderStatus, come: '10', userId: uni.getStorageSync('userInfo').id }
})
return res
}