Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
ztx_wx_gzt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
065c7030
authored
2026-05-20 13:56:45 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
重复
1 parent
c31bae2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
25 deletions
common/api.js
common/api.js
View file @
065c703
...
...
@@ -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
)
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment