Commit 79f69def by zhengxiao

fix: doctorUid modify

parent 20f13034
...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment