065c7030 by lttnew

重复

1 parent c31bae2b
...@@ -1575,23 +1575,23 @@ export function certifiedNew(data) { ...@@ -1575,23 +1575,23 @@ export function certifiedNew(data) {
1575 } 1575 }
1576 1576
1577 // 再次支付订单 1577 // 再次支付订单
1578 export function payForOrder(data) { 1578 // export function payForOrder(data) {
1579 let url = '/system/certifiedNew/payForOrder' 1579 // let url = '/system/certifiedNew/payForOrder'
1580 const params = [] 1580 // const params = []
1581 if (data.id) params.push(`id=${data.id}`) 1581 // if (data.id) params.push(`id=${data.id}`)
1582 if (data.renewYear) params.push(`renewYear=${data.renewYear}`) 1582 // if (data.renewYear) params.push(`renewYear=${data.renewYear}`)
1583 params.push(`type=${data.type}`) 1583 // params.push(`type=${data.type}`)
1584 if (data.contactPerson) params.push(`contactPerson=${data.contactPerson}`) 1584 // if (data.contactPerson) params.push(`contactPerson=${data.contactPerson}`)
1585 if (data.contactTel) params.push(`contactTel=${data.contactTel}`) 1585 // if (data.contactTel) params.push(`contactTel=${data.contactTel}`)
1586 if (params.length > 0) { 1586 // if (params.length > 0) {
1587 url += '?' + params.join('&') 1587 // url += '?' + params.join('&')
1588 } 1588 // }
1589 return request({ 1589 // return request({
1590 url, 1590 // url,
1591 method: 'post', 1591 // method: 'post',
1592 showLoading: false 1592 // showLoading: false
1593 }) 1593 // })
1594 } 1594 // }
1595 1595
1596 // 订单详情 1596 // 订单详情
1597 export function orderDetail(orderId) { 1597 export function orderDetail(orderId) {
...@@ -1783,14 +1783,6 @@ export function getMyRecentExam() { ...@@ -1783,14 +1783,6 @@ export function getMyRecentExam() {
1783 }) 1783 })
1784 } 1784 }
1785 1785
1786 // 取消订单
1787 export function cancelOrder(id) {
1788 return request({
1789 url: `/common/order/cancelOrder/${id}`,
1790 method: 'post',
1791 data: { id }
1792 })
1793 }
1794 1786
1795 // 考点申请列表 1787 // 考点申请列表
1796 export function examPointApplyList(params) { 1788 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!