/**
* 接口 [xx-分页查询↗](http://xxxxxxxxxxxxxx) 的 **请求函数**
*
* @分类 [xx-APP↗](http:/xxxxxxxxxxxxxxxxxxxxx3)
* @请求头 `POST /transaction/mobile/askPurchase/page`
* @更新时间 `2023-02-13 14:51:05`
*/
export const postTransactionMobileAskPurchasePage = async (
params?: PostTransactionMobileAskPurchasePageRequest,
config?: IApiRequest,
) => {
return request<PostTransactionMobileAskPurchasePageResponse>('/transaction/mobile/askPurchase/page', {
data: params,
method: 'POST',
ctlType: 'message',
...config,
})
}
---------------------------------------
const getProductList = (): Promise<any[]> => { }
const getProductList = (): Promise<PostTransactionMobileAskPurchasePageResponse[]> => { }
promise类型 promise< 这里面是返回值的参数 >
axios 请求类型接口 如何写
猜你喜欢
转载自blog.csdn.net/weixin_43416349/article/details/129016320
今日推荐
周排行