Commit 66ff4279 by 姜雷

添加结果打印

parent 0d2551ba
......@@ -68,6 +68,8 @@ class Pay extends Component {
smaproPrepayConfigId: payId,
})
.then(res => {
console.log('res: ', res);
const { payStr } = res;
const key = customerId.toString().padEnd(16, '0');
const payData = JSON.parse(
......@@ -76,7 +78,7 @@ class Pay extends Component {
padding: PaddingPkcs7,
}).toString(Utf8),
);
console.log(payData);
console.log('payData:', payData);
Taro.requestPayment({
timeStamp: payData.msg.timeStamp.toString(),
nonceStr: payData.msg.nonceStr,
......
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