Commit 80bdd248050f542941adaf7e6da5c576309fc1c7
1 parent
22715022
Exists in
master
and in
3 other branches
X
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
wxsdk/wx/WxPay.ts
... | ... | @@ -92,7 +92,7 @@ export default class WxPay { |
92 | 92 | private handlePayError(data: { payid: string, goodid: string, money: number; orderid: string, platform: string }, opts, err: any, reject: any) { |
93 | 93 | console.log("支付失败", JSON.stringify(err)); |
94 | 94 | let type = 2; |
95 | - if (err.code + '' == '-2') { | |
95 | + if (err.errCode + '' == '1') { | |
96 | 96 | type = 3; |
97 | 97 | } |
98 | 98 | let extend = ""; | ... | ... |