065c7030 by lttnew

重复

1 parent c31bae2b
......@@ -1575,23 +1575,23 @@ export function certifiedNew(data) {
}
// 再次支付订单
export function payForOrder(data) {
let url = '/system/certifiedNew/payForOrder'
const params = []
if (data.id) params.push(`id=${data.id}`)
if (data.renewYear) params.push(`renewYear=${data.renewYear}`)
params.push(`type=${data.type}`)
if (data.contactPerson) params.push(`contactPerson=${data.contactPerson}`)
if (data.contactTel) params.push(`contactTel=${data.contactTel}`)
if (params.length > 0) {
url += '?' + params.join('&')
}
return request({
url,
method: 'post',
showLoading: false
})
}
// export function payForOrder(data) {
// let url = '/system/certifiedNew/payForOrder'
// const params = []
// if (data.id) params.push(`id=${data.id}`)
// if (data.renewYear) params.push(`renewYear=${data.renewYear}`)
// params.push(`type=${data.type}`)
// if (data.contactPerson) params.push(`contactPerson=${data.contactPerson}`)
// if (data.contactTel) params.push(`contactTel=${data.contactTel}`)
// if (params.length > 0) {
// url += '?' + params.join('&')
// }
// return request({
// url,
// method: 'post',
// showLoading: false
// })
// }
// 订单详情
export function orderDetail(orderId) {
......@@ -1783,14 +1783,6 @@ export function getMyRecentExam() {
})
}
// 取消订单
export function cancelOrder(id) {
return request({
url: `/common/order/cancelOrder/${id}`,
method: 'post',
data: { id }
})
}
// 考点申请列表
export function examPointApplyList(params) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!