|
@@ -884,10 +884,11 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
pay() {
|
|
|
+ let systemInfo = wx.getSystemInfoSync();
|
|
|
api.buy.studentWxXcxPrepareOrder({
|
|
|
foreType: 2,
|
|
|
goodsType: 3,
|
|
|
- phoneType: 2,
|
|
|
+ phoneType: systemInfo.platform == "ios" ? 1 : 2,
|
|
|
goodsId: this.goodsStatus.id
|
|
|
}).then(res => {
|
|
|
uni.requestPayment({
|