File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
pages/API/request-payment Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 79
79
data: {
80
80
action: ' loginByWeixin' ,
81
81
params: {
82
- code: res .code ,
82
+ code: res .code ,
83
83
platform: ' mp-weixin'
84
84
}
85
85
},
160
160
showCancel: false
161
161
})
162
162
return
163
- }
164
- console .log (' --------orderInfo--------' )
163
+ }
164
+ console .log (' --------orderInfo--------' )
165
165
console .log (orderInfo);
166
166
uni .requestPayment ({
167
167
provider,
195
195
data: {
196
196
provider,
197
197
openid: this .openid ,
198
- totalFee: Number (this .price ) * 100 , // 转为以分为单位
199
- // #ifdef APP-PLUS
200
- platform: ' app-plus' ,
201
- // #endif
202
- // #ifdef MP-WEIXIN
203
- platform: ' mp-weixin' ,
198
+ totalFee: Number (this .price ) * 100 , // 转为以分为单位
199
+ // #ifdef APP-PLUS
200
+ platform: ' app-plus' ,
201
+ // #endif
202
+ // #ifdef MP-WEIXIN
203
+ platform: ' mp-weixin' ,
204
204
// #endif
205
205
},
206
206
success (res ) {
251
251
.ipaPayBtn {
252
252
margin-top : 30 rpx;
253
253
}
254
- </style >
254
+ </style >
You can’t perform that action at this time.
0 commit comments