✨ feat(售后模块):退货页面开发完毕,剩余退款页面

This commit is contained in:
Haiyi
2022-09-20 18:59:38 +08:00
parent fcce5d265d
commit adc7c36193
24 changed files with 1352 additions and 396 deletions
+12
View File
@@ -0,0 +1,12 @@
import { useRequest } from '@/use/useHttp'
/**
* 获取cdn 签名/密钥
* @returns
*/
export const GetSignApi = () => {
return useRequest({
url: `/v1/mp/cdn/token`,
method: 'get',
})
}
+21
View File
@@ -21,3 +21,24 @@ export const mpenumreturnType = () => {
method: "get",
})
}
//售后详情
export const mpreturnApplyOrder = () => {
return useRequest({
url: `/v1/mp/returnApplyOrder`,
method: "get",
})
}
//取消退货
export const returnApplyOrdercancel = () => {
return useRequest({
url: `/v1/mp/returnApplyOrder/cancel`,
method: "post",
})
}
//售后确认上传附件
export const returnApplyOrderuploadAccessory = () => {
return useRequest({
url: `/v1/mp/returnApplyOrder/uploadAccessory`,
method: "put",
})
}