Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-packages
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
许振钊
ydl-packages
Commits
79f69def
Commit
79f69def
authored
Oct 08, 2023
by
zhengxiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: doctorUid modify
parent
20f13034
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Payment.ts
packages/toolkit/src/Payment/Payment.ts
+3
-2
No files found.
packages/toolkit/src/Payment/Payment.ts
View file @
79f69def
...
@@ -63,12 +63,13 @@ export class Payment {
...
@@ -63,12 +63,13 @@ export class Payment {
}
}
// 获取被禁止的支付方式列表
// 获取被禁止的支付方式列表
getDisabledPayMethodList
(
doctorId
:
string
|
undefined
):
Promise
<
number
[]
>
{
getDisabledPayMethodList
(
doctorId
:
string
|
undefined
,
orderId
?
:
string
|
undefined
):
Promise
<
number
[]
>
{
return
new
Promise
<
number
[]
>
(
async
(
resolve
,
reject
)
=>
{
return
new
Promise
<
number
[]
>
(
async
(
resolve
,
reject
)
=>
{
try
{
try
{
const
res
:
any
=
await
requestForJava
.
get
<
Record
<
string
,
string
>
,
DefaultResponse
>
(
GET_EXCLUDE_PAYTYPE
,
{
const
res
:
any
=
await
requestForJava
.
get
<
Record
<
string
,
string
>
,
DefaultResponse
>
(
GET_EXCLUDE_PAYTYPE
,
{
params
:
{
params
:
{
doctorId
doctorUid
:
doctorId
,
orderId
}
}
})
})
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment