getDetail: (resource: any, params: any) => {
const data=new URLSearchParams(params)
const url = `${PostgrestUrl}/rpc/${resource}?${data}`;
return httpClient(url, {
headers: new Headers({}),
}).then(({ json }) => ({
data: json,
})).catch((err) => {
return err
})
},
前端项目实战103-postgrest详情接口
最新推荐文章于 2024-07-22 14:06:42 发布