@@ -9,7 +9,7 @@ App({
// postHeadAgreement: 'http://192.168.105.171:10301',
// 正式
- //postHeadAgreement: 'https://cdglyy.pjnes.com/cloud/chargapi',
+ // postHeadAgreement: 'https://cdglyy.pjnes.com/cloud/chargapi',
helpPhoneNum: '4009608068',
version:'2.0'
},
@@ -330,6 +330,21 @@ Page({
});
}
+ wx.request({
+ url: getApp().globalData.postHeadAgreement +'/restapi/wechat/fastAndSlow',
+ data: {
+ id: that.data.chargid,
+ },
+ method: 'POST',
+ success(res) {
+ that.setData({
+ fastFree : res.data.fastFree,
+ slowFree : res.data.slowFree,
+ fastSum : res.data.fastSum,
+ slowSum : res.data.slowSum
+ });
+ }
this.setData({
scrollTop: 0