Authored by 李奇

上报整理

//app.js
import promisify from './libs/promisify';
import objectAssign from './vendors/object-assign';
import {WeToast} from './vendors/toast/wetoast';
import { API_HOST, SERVICE_HOST, MINI_APP_TYPE} from './libs/config';
import {GET, POST} from './libs/request';
import {Encrypt,Decrypt} from './libs/aes.js';
let crypto = require('./libs/cryptojs/cryptojs.js').Crypto
import { API_HOST, MINI_APP_TYPE} from './libs/config';
import {GET} from './libs/request';
import md5 from './vendors/md5';
var mta = require('./vendors/mta_analysis.js')
import { wechatLoginAction } from './utils/login';
var mta = require('./vendors/mta_analysis.js');
import regeneratorRuntime from '/login/libs/regenerator-runtime/index.js';
import { isStringEmpty, getYHStorageSync} from './utils/util';
import { Event } from '/login/utils/index.js';
... ... @@ -20,12 +15,9 @@ global.event = event;
import { logEvent,
YB_LAUNCH_APP,
YB_EXIT_APP,
YB_ENTER_FOREGROUND,
YB_ENTER_BACKGROUND,
YB_PAGE_OPEN_L,
YB_AWAKE_MP,
YB_SERVICE_PUSH
YB_AWAKE_MP
} from './libs/analytics.js';
import router from './pages/zeroSell/router/router';
... ... @@ -160,14 +152,6 @@ App({
appReport('start', "LIFECYCLE", "RESUME", {
'activeWay': options.scene + ""
}, this)
if (+options.scene === 1014 && options.query.msg_id) {
let param = {
MSG_ID: options.query.msg_id
}
logEvent(YB_SERVICE_PUSH, param,that);
}
}else{
appReport('start', "LIFECYCLE", "RESUME", {}, this)
}
... ...
// component/productListCell.js
import { shouldDiscardTap} from '../utils/util';
import {
logEvent,
YB_MAIN_EVENT
} from '../libs/analytics.js'
//获取应用实例
let app = getApp();
... ... @@ -93,18 +89,7 @@ Component({
this.setData({ lastTapTimeStamp: event.timeStamp });
let data = event.currentTarget.dataset;
let productSkn = data.productSkn;
// 以下是埋点代码,如果需要埋点请传入相应参数
if (this.properties.logEvenName && this.properties.logEvenName != "") {
let params = {
F_ID: this.properties.fIndex,
F_NAME: this.properties.fName,
F_URL: '/pages/goodsDetail/goodsDetail?productSkn=' + productSkn,
F_INDEX: this.properties.fIndex,
I_INDEX: this.properties.index + 1,
PV_ID: PV_ID,
};
logEvent(this.properties.logEvenName, params);
}
// 根据动画类型来选择动画效果
if (this.properties.animationType && this.properties.animationType == "redirectTo") {
wx.redirectTo({
... ...
'use strict'
import {LOG_EVENT_HOST, API_HOST, SERVICE_HOST } from '../libs/config';
import { UPLOAD_LOG} from '../libs/request';
import { getYHStorageSync } from '../utils/util';
import {LOG_EVENT_HOST} from '../libs/config';
import {UPLOAD_LOG} from '../libs/request';
import {getYHStorageSync} from '../utils/util';
const YB_ENTER_FOREGROUND = 'YB_ENTER_FOREGROUND'; //程序切换置前台
const YB_ENTER_BACKGROUND = 'YB_ENTER_BACKGROUND'; //系统-程序切换置后台
const YB_LAUNCH_APP = 'YB_LAUNCH_APP'; //系统-启动小程序
const YB_EXIT_APP = 'YB_EXIT_APP'; //系统-退出小程序
const YB_PAGE_OPEN_L = 'YB_PAGE_OPEN_L'; //页面加载/刷新/返回时
const YB_MAIN_TAB_C = 'YB_MAIN_TAB_C'; //点击页面底部的功能按钮时,点击时才上报,默认载入时不上报;
const YB_CATEGORY_FL = 'YB_CATEGORY_FLR_C';//品类页楼层
const YB_MAIN_EVENT = 'YB_MAIN_EVENT'; //首页-楼层事件点击
const YB_MY_LOGIN = 'YB_MY_LOGIN'; //当用户使用该登录方式登录成功时
const YB_GDS_DT_BILL = 'YB_GDS_DT_BILL'; //点击商品详情页底部的立即购买按钮,选择完颜色/尺寸后上报
const YB_SC_ORD = 'YB_SC_ORD'; //生成订单
const YB_SC_PAY_RES = 'YB_SC_PAY_RES'; //购物车-付款结果
const YB_GDS_ADD_TO_CART_C = 'YB_GDS_ADD_TO_CART_C'; //商品详情页-加入购物车
const YB_REGISTER_SUCCESS = 'YB_REGISTER_SUCCESS'; //注册成功
const YB_INVITE_C = 'YB_INVITE_C'; //邀请好友
const YB_INVITE_PICTURE_C = 'YB_INVITE_PICTURE_C'; //点击邀请好友参团“生成图片发朋友圈”
const YB_INVITE_PICTURE_SAVE_C = 'YB_INVITE_PICTURE_SAVE_C'; //点击“保存图片分享到朋友圈”
const YB_SHARE_PICTURE_RESULT_L = 'YB_SHARE_PICTURE_RESULT_L'; //选择生成图片发朋友圈成功时
const YB_INVITE_FRIEND_C = 'YB_INVITE_FRIEND_C'; //邀请好友参团“分享给微信好友”
const YB_ASSIST_C = 'YB_ASSIST_C';//点击红包助力页面中的助力按钮时
const YB_ASSIST_LAUNCH_C = 'YB_ASSIST_LAUNCH_C';//点击红包助力页面中的发起成功时
const YB_SHARE_RESULT_L = 'YB_SHARE_RESULT_L'; //分享
const YB_AWAKE_MP = 'YB_AWAKE_MP'; //渠道落地页
const YB_MY_GRP_BUY_INV_C = 'YB_MY_GRP_BUY_INV_C'; //订单列表点击“拼团详情”
const YB_MY_GRP_BUY ='YB_MY_GRP_BUY'; //个人中心中我的拼团
const YB_SERVICE_PUSH = 'YB_SERVICE_PUSH'; //推送服务
const YB_GRP_BUY_OPEN_C = 'YB_GRP_BUY_OPEN_C'; //去开团
const YB_GRP_BUY_REOPEN_C = 'YB_GRP_BUY_REOPEN_C'; //重新开团
const YB_GRP_BUY_DT_TOG_C = 'YB_GRP_BUY_DT_TOG_C'; //立即购买
const YB_GRP_BUY_DT_SEP_C = 'YB_GRP_BUY_DT_SEP_C'; //单独购买
const YB_COLLECTION_C = 'YB_COLLECTION_C';//点击商品详情页中的收藏按钮时
const YB_MY_FAV = 'YB_MY_FAV';//点击我的页面中的"商品收藏"时
const YB_GDS_BRAND_SHOP_C = 'YB_GDS_BRAND_SHOP_C';//商品详情点击店铺
const YB_ENTER_FOREGROUND = 'YB_ENTER_FOREGROUND';
const YB_ENTER_BACKGROUND = 'YB_ENTER_BACKGROUND';
const YB_LAUNCH_APP = 'YB_LAUNCH_APP';
const YB_EXIT_APP = 'YB_EXIT_APP';
const YB_PAGE_OPEN_L = 'YB_PAGE_OPEN_L';
const YB_MAIN_TAB_C = 'YB_MAIN_TAB_C';
const YB_BRAND_TAB_C = 'YB_BRAND_TAB_C';//点击品牌分类页的TAB时
const YB_BRAND_FLR_C = 'YB_BRAND_FLR_C';//点击品牌分类页各楼层时
const YB_SEARCH_C = 'YB_SEARCH_C';//点击搜索框时
const YB_SCAN_CODE_SUCCESS = 'YB_SCAN_CODE_SUCCESS';//扫描成功时
const YB_SCAN_CODE_C = 'YB_SCAN_CODE_C';//首页点击扫一扫图标
const YB_MY_LOGIN = 'YB_MY_LOGIN';
const YB_REGISTER_SUCCESS = 'YB_REGISTER_SUCCESS';
const YB_AWAKE_MP = 'YB_AWAKE_MP';
const YB_GRP_BUY_DT_TOG_C = 'YB_GRP_BUY_DT_TOG_C';
const YB_MAIN_POP_UP_C = 'YB_MAIN_POP_UP_C';
const YB_MAIN_STROLL_TAB_C = 'YB_MAIN_STROLL_TAB_C';//点击逛楼层tab时
const YB_TO_OPEN_APP_C = 'YB_TO_OPEN_APP_C';//商品详情页&店铺页
const YB_OPEN_APP_RESULT_L = 'YB_OPEN_APP_RESULT_L';//唤起app结果
const YB_SHARE_PROMOTION_C = 'YB_SHARE_PROMOTION_C';//点击创建推广页“分享链接/生成图片/复制口令”时
const YB_MAIN_POP_UP_C = 'YB_MAIN_POP_UP_C';//点击首页弹框
const YB_GROUP_BUY_BANNER_C = 'YB_GROUP_BUY_BANNER_C';//拼团购列表页banner位
let logEvent = function(eventId, data,appData) {
let logEvent = function (eventId, data, appData) {
let app = appData ? appData : getApp();
let ln;//语言
let os;//系统类型
let dm;//设备型号
let re;//屏幕大小
let osv;//系统版本
let ak = 'yohobuy_mp';//
let ak = 'yoholuck_mp';//
let net = '0';
let ts = new Date().getTime() + '';
//用户id
... ... @@ -70,9 +32,9 @@ let logEvent = function(eventId, data,appData) {
//会话id
let sid = app && app.globalData && app.globalData.sid ? app.globalData.sid : '';
let cid = app && app.globalData && app.globalData.cid ? app.globalData.cid : '';
let open_id = app && app.globalData && app.globalData.openID ? app.globalData.openID : getYHStorageSync('openID','analytics');
let union_id = app && app.globalData && app.globalData.WXUnion_ID ? app.globalData.WXUnion_ID : getYHStorageSync('unionID','analytics');
let open_id = app && app.globalData && app.globalData.openID ? app.globalData.openID : getYHStorageSync('openID', 'analytics');
let union_id = app && app.globalData && app.globalData.WXUnion_ID ? app.globalData.WXUnion_ID : getYHStorageSync('unionID', 'analytics');
let ch = app && app.globalData && app.globalData.ch ? app.globalData.ch : '';
wx.getSystemInfo({
... ... @@ -82,7 +44,7 @@ let logEvent = function(eventId, data,appData) {
ln = res.language;
os = res.platform;
osv = res.system;
re = res.screenWidth+'*'+res.screenHeight;
re = res.screenWidth + '*' + res.screenHeight;
},
complete: function () {
wx.getNetworkType({
... ... @@ -105,18 +67,26 @@ let logEvent = function(eventId, data,appData) {
complete: function () {
let union_type = app.getUnion_type();
let statusParam = { 'net': net, 'ln': ln };
let deviceParam = { 'res': re, 'osv': osv, 'os': os, 'ak': ak, 'dm': dm, 'udid': udid, 'ch': union_type != '' ? union_type+"" : ch+""};
let statusParam = {'net': net, 'ln': ln};
let deviceParam = {
'res': re,
'osv': osv,
'os': os,
'ak': ak,
'dm': dm,
'udid': udid,
'ch': union_type !== '' ? union_type + "" : ch + ""
};
let userParam = data;
userParam.C_ID = cid;
userParam.UNION_ID = union_id;
let eventParam = [{ 'param': userParam, 'ts': ts, 'op': eventId, 'uid': uid, 'sid': sid}]
let parameters = { 'status': statusParam, 'device': deviceParam, 'events': eventParam }
let eventParam = [{'param': userParam, 'ts': ts, 'op': eventId, 'uid': uid, 'sid': sid}]
let parameters = {'status': statusParam, 'device': deviceParam, 'events': eventParam}
// console.log(parameters)
UPLOAD_LOG(LOG_EVENT_HOST, parameters)
.then(function (data) {
// console.log(data)
// console.log(data)
})
.catch(function (error) {
// console.log(error)
... ... @@ -126,53 +96,19 @@ let logEvent = function(eventId, data,appData) {
})
}
})
};
}
module.exports = {
logEvent,
YB_ENTER_FOREGROUND,
YB_ENTER_BACKGROUND,
export {
logEvent,
YB_ENTER_FOREGROUND,
YB_ENTER_BACKGROUND,
YB_LAUNCH_APP,
YB_EXIT_APP,
YB_PAGE_OPEN_L,
YB_MAIN_TAB_C,
YB_MAIN_EVENT,
YB_MY_LOGIN,
YB_GDS_DT_BILL,
YB_SC_ORD,
YB_SC_PAY_RES,
YB_GDS_ADD_TO_CART_C,
YB_CATEGORY_FL,
YB_REGISTER_SUCCESS,
YB_INVITE_C,
YB_INVITE_PICTURE_C,
YB_INVITE_PICTURE_SAVE_C,
YB_SHARE_PICTURE_RESULT_L,
YB_INVITE_FRIEND_C,
YB_ASSIST_C,
YB_ASSIST_LAUNCH_C,
YB_SHARE_RESULT_L,
YB_AWAKE_MP,
YB_MY_GRP_BUY_INV_C,
YB_MY_GRP_BUY,
YB_SERVICE_PUSH,
YB_GRP_BUY_OPEN_C,
YB_GRP_BUY_REOPEN_C,
YB_GRP_BUY_DT_TOG_C,
YB_GRP_BUY_DT_SEP_C,
YB_COLLECTION_C,
YB_MY_FAV,
YB_BRAND_TAB_C,
YB_BRAND_FLR_C,
YB_SEARCH_C,
YB_SCAN_CODE_SUCCESS,
YB_GDS_BRAND_SHOP_C,
YB_SCAN_CODE_C,
YB_MAIN_STROLL_TAB_C,
YB_TO_OPEN_APP_C,
YB_OPEN_APP_RESULT_L,
YB_SHARE_PROMOTION_C,
YB_MAIN_POP_UP_C,
YB_GROUP_BUY_BANNER_C
}
\ No newline at end of file
YB_GRP_BUY_DT_TOG_C,
YB_MAIN_POP_UP_C
};
\ No newline at end of file
... ...
... ... @@ -4,7 +4,7 @@ import { APP_REPORT } from '../libs/request';
import md5 from '../vendors/md5';
let getDeviceInfo = function (app) {
let ak = 'yohobuy_mp';//
let ak = 'yoholuck_mp';//
let systemInfo = app.globalData.systemInfo
let device = {}
... ...
... ... @@ -95,7 +95,7 @@ Page(extend({},Toast,{
GET(API_HOST +'/smart/way', param)
.then(data => {
let graphicsCodeSwitch = data.data;
let graphicsCodeUrl = API_HOST + '/passport/img-check' + '?business_line=miniapp' + '&udid=' + udid + '&fromPage=' + 'bindPhoneNumber' + '&timeStamp=' + timeStamp;
let graphicsCodeUrl = API_HOST + '/passport/img-check' + '?business_line=minappLuck' + '&udid=' + udid + '&fromPage=' + 'bindPhoneNumber' + '&timeStamp=' + timeStamp;
that.setData({
graphicsCodeSwitch,
... ... @@ -131,7 +131,7 @@ Page(extend({},Toast,{
update: function (event) {
var timeStamp = Date.parse(new Date());
let udid = app && app.globalData && app.globalData.udid ? app.globalData.udid : '';
let graphicsCodeUrl = API_HOST + '/passport/img-check' + '?business_line=miniapp' + '&udid=' + udid + '&fromPage=' + 'bindPhoneNumber' + '&timeStamp=' + timeStamp;
let graphicsCodeUrl = API_HOST + '/passport/img-check' + '?business_line=minappLuck' + '&udid=' + udid + '&fromPage=' + 'bindPhoneNumber' + '&timeStamp=' + timeStamp;
this.setData({
graphicsCodeUrl,
})
... ...
// components/Dialog/dialog.js
import {
logEvent,
YB_TO_OPEN_APP_C,
YB_OPEN_APP_RESULT_L
} from '../../libs/analytics.js'
import { API_HOST, SERVICE_HOST } from '../../libs/config';
import { GET, POST } from '../../libs/request';
import { postFormId } from '../../libs/formIdCollectRequest';
... ... @@ -78,7 +70,6 @@ Component({
methods: {
//上报formid
formSubmit: function (e) {
// console.log('####formID:', e.detail.formId)
let formId = e.detail.formId;
postFormId(formId)
},
... ... @@ -196,20 +187,9 @@ Component({
let params = {
PAGE_PATH: url,
};
logEvent(YB_TO_OPEN_APP_C, params);
},
launchAppError: function (e) {
var pages = getCurrentPages()
var currentPage = pages[pages.length - 1]
var url = currentPage.route
let params = {
PAGE_PATH: url,
OPEN_RESULT: 2
};
logEvent(YB_OPEN_APP_RESULT_L, params);
wx.showToast({
title: '打开失败!您可能未安装Yoho!Buy官方APP,请下载后再尝试。',
icon: 'none',
... ...
<!--page/subPackage/pages/zeroSell/components/tabs.wxml-->
<view class="tabs tabs-class">
<block wx:for="{{tabs}}">
<block wx:for="{{tabs}}" wx:key="{{index}}">
<block wx:if="{{item.active}}">
<view class="tab active" data-index="{{index}}" bindtap="_onTap">{{item.name}}</view>
</block>
... ...
... ... @@ -84,10 +84,10 @@
</block>
</view> -->
<import src="../../../../vendors/zanui/toast/index.wxml"/>
<import src="../../vendors/zanui/toast/index.wxml"/>
<template is="zan-toast" data="{{zanToast}}"/>
<import src="../../../../vendors/toast/wetoast.wxml"/>
<import src="../../vendors/toast/wetoast.wxml"/>
<template is="wetoast" data="{{...__wetoast__}}"/>
<dialog
id='dialog'
... ...
... ... @@ -9,13 +9,13 @@
<view class="list-head-blank"></view>
<tabs-pane name="进行中">
<block wx:for="{{list[0].data}}">
<block wx:for="{{list[0].data}}" wx:key="{{index}}">
<prize-item item="{{item}}" bindshare="share"></prize-item>
</block>
</tabs-pane>
<tabs-pane name="已公布">
<block wx:for="{{list[1].data}}">
<block wx:for="{{list[1].data}}" wx:key="{{index}}">
<prize-item item="{{item}}"></prize-item>
</block>
</tabs-pane>
... ... @@ -24,13 +24,11 @@
</tabs>
<view style="height: 20rpx;background-color:#F0F0F0"></view>
<more wx:if="{{recommends.length > 0}}">
<block wx:for="{{recommends}}">
<block wx:for="{{recommends}}" wx:key="{{index}}">
<view class="product-item" >
<product-item product="{{item}}"></product-item>
</view>
</block>
</more>
<template is="zan-actionsheet" data="{{...actionsheet}}" />
<!-- <quickNavigation id="quickNavigation" isShowIndicator="{{false}}" isShowShopCart="{{false}}" marginBottom="{{190}}"></quickNavigation> -->
\ No newline at end of file
<template is="zan-actionsheet" data="{{...actionsheet}}" />
\ No newline at end of file
... ...
export default {
['pages/zeroSell/index']: {
pageName: 'index'
},
['pages/zeroSell/detail']: {
pageName: 'detail'
},
['pages/zeroSell/myList']: {
pageName: 'myList'
},
['pages/zeroSell/snapshootShare']: {
pageName: 'snapshootShare'
},
['pages/zeroSell/h5Page']: {
pageName: 'H5Page'
},
['pages/bindPhoneNumber/bindPhoneNumber']: {
pageName: 'bindPhoneNumber'
},
['pages/choosecountry/choosecountry']: {
pageName: 'choosecountry'
},
['login/login-page/login-page']: {
pageName: 'loginPage'
}
}
... ...
'use strict'
import { API_HOST, SERVICE_HOST, PAYMENT_CODE} from '../libs/config';
import {GET, POST} from '../libs/request';
import { getYHStorageSync } from './util';
import {
logEvent,
YB_SC_PAY_RES,
} from '../libs/analytics.js'
let app = getApp();
let orderCode;
//微信支付action
function wexinPay(data,payParam){
let wetoast = new app.WeToast();
let order_amount = data.order_amount;
let order_code = data.order_code;
let isVirtual = payParam && payParam.isVirtual ? 'true':'false';
if(!data){
let params = {
ORDER_AMOUNT: order_amount,
PAY_TYPE: 1,
PAY_RES: 0,
ORD_NUM: order_code,
};
logEvent(YB_SC_PAY_RES, params);
wx.showModal({
content: '支付失败,请求参数不完整.',
showCancel: false,
confirmText: "确定",
})
return
}
if(!data.order_code){
let params = {
ORDER_AMOUNT: order_amount,
PAY_TYPE: 1,
PAY_RES: 0,
ORD_NUM: order_code,
};
logEvent(YB_SC_PAY_RES, params);
wx.showModal({
content: '支付失败,订单号未获取到.',
showCancel: false,
confirmText: "确定",
})
return
}
if(!app.globalData.WXThird_session){
let params = {
ORDER_AMOUNT: order_amount,
PAY_TYPE: 1,
PAY_RES: 0,
ORD_NUM: order_code,
};
logEvent(YB_SC_PAY_RES, params);
wx.showModal({
content: '支付失败,用户session未获取到.',
showCancel: false,
confirmText: "确定",
})
return
}
wx.showToast({
title: '加载中',
icon: 'loading',
duration: 10000
})
orderCode = data.order_code
let param = {
method:'/payment/weixin_data',
order_code:data.order_code,
payment_code: PAYMENT_CODE,
'3rd_session':app.globalData.WXThird_session,
}
GET(SERVICE_HOST+'/payment/weixin_data', param)
.then(function(data) {
wx.hideToast()
if(data && data.data && data.code == 200){
wx.requestPayment({
'timeStamp': data.data.timeStamp,
'nonceStr': data.data.nonceStr,
'package': data.data.package,
'signType': data.data.signType,
'paySign':data.data.paySign,
'success':function(res){
let app = getApp()
// console.log("openID:", app.globalData.openID ? app.globalData.openID : getYHStorageSync('openID','wxpay'))
//上报formID
let prepareID = data.data.package
if (prepareID && prepareID.length > 10) {
prepareID = prepareID.slice(10)
let formIdParams = {
uid: app.getUid(),
order_code: orderCode,
openId: app.globalData.openID ? app.globalData.openID : getYHStorageSync('openID','wxpay'),
miniapp_type: app.globalData.miniapp_type,
formId: prepareID,
method: 'wechat.formId.add',
formType: 'pay',
}
// console.log("prepareID:",formIdParams)
GET(API_HOST, formIdParams)
.then((data) => {
// console.log('responsedata', data)
})
.catch(error => {
})
}
let params = {
ORDER_AMOUNT: order_amount,
PAY_TYPE: 1,
PAY_RES: 1,
ORD_NUM: order_code,
};
logEvent(YB_SC_PAY_RES, params);
payConfirm(orderCode)
// wx.showModal({
// content: '支付成功',
// showCancel: false,
// confirmText: "确定",
// complete: function(res) {
// wx.navigateBack({
// delta: getCurrentPages().length-1
// })
if (payParam && payParam.fromPage == 'groupPurchaseDetail'){
wx.navigateTo({
url: "/pages/groupPurchase/groupPurchaseResult?activity_id=" + payParam.activity_id + '&group_no=' + payParam.group_no + '&page_name=' + 'statements' + '&page_param=' + ''
});
}else {
wx.navigateTo({
url: "/pages/paymentSuccessed/paymentSuccessed?orderCode=" + order_code + '&hasSuc=true' + '&price=' + parseInt(order_amount).toFixed(2) + '&isVirtual=' + isVirtual
});
}
// }})
},
'fail':function(res){
let params = {
ORDER_AMOUNT: order_amount,
PAY_TYPE: 1,
PAY_RES: 0,
ORD_NUM: order_code,
};
logEvent(YB_SC_PAY_RES, params);
if(res.errMsg=='requestPayment:fail cancel'){
wx.redirectTo({
url: '/pages/orders/orders'
})
}else{
wx.showModal({
content: res.errMsg,
showCancel: false,
confirmText: "确定",
complete: function(res) {
wx.redirectTo({
url: '/pages/orders/orders'
})
}
})
}
}
})
}else{
wx.hideToast()
wx.showModal({
content: data.code+':'+data.message,
showCancel: false,
confirmText:'确定',
confirmColor:"#000",
complete: function(res) {
wx.redirectTo({
url: '/pages/orders/orders'
})
}
})
}
})
.catch(function(error) {
// console.log(error+'')
});
}
//支付确认接口
function payConfirm(orderCode){
if(!orderCode||orderCode==0){
return
}
let param = {
method:'app.SpaceOrders.payConfirm',
order_code:orderCode,
payment_id:45,
uid:app.globalData.userInfo.uid,
}
GET(API_HOST, param)
}
module.exports = {
wexinPay: wexinPay,
}
\ No newline at end of file