更新
This commit is contained in:
@@ -6454,7 +6454,14 @@ require("@babel/runtime/helpers/Arrayincludes"), (wx.webpackJsonp = wx.webpackJs
|
|||||||
ttid: "#t#ip##_h5_2014",
|
ttid: "#t#ip##_h5_2014",
|
||||||
tb_eagleeyex_scm_project: e.tag || m
|
tb_eagleeyex_scm_project: e.tag || m
|
||||||
};
|
};
|
||||||
return a && (s[a] = c), new p.p((0, r.A)((0, r.A)({}, i), {}, {
|
if (a) {
|
||||||
|
s[a] = c
|
||||||
|
}
|
||||||
|
console.log('s = ', s);
|
||||||
|
console.log('i = ', i);
|
||||||
|
console.log('t = ', t)
|
||||||
|
debugger
|
||||||
|
return new p.p((0, r.A)((0, r.A)({}, i), {}, {
|
||||||
data: t,
|
data: t,
|
||||||
ext_querys: s,
|
ext_querys: s,
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ const Ay = requireCustom(4752).Ay;
|
|||||||
|
|
||||||
Page({
|
Page({
|
||||||
data: {
|
data: {
|
||||||
|
globalCode: 'ali.china.damai',
|
||||||
|
ttid: '#t#ip##_h5_2014',
|
||||||
getDetailParam: {
|
getDetailParam: {
|
||||||
api: 'mtop.alibaba.detail.subpage.getdetail',
|
api: 'mtop.alibaba.detail.subpage.getdetail',
|
||||||
v: '2.0',
|
v: '2.0',
|
||||||
@@ -24,7 +26,15 @@ Page({
|
|||||||
timeout: 15e3,
|
timeout: 15e3,
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
},
|
},
|
||||||
orderBuildResult: {}
|
orderBuildResult: {},
|
||||||
|
orderCreateParam: {
|
||||||
|
api: 'mtop.damai.trade.order.create.h5',
|
||||||
|
v: '1.0',
|
||||||
|
data: {},
|
||||||
|
timeout: 15e3,
|
||||||
|
method: 'POST'
|
||||||
|
},
|
||||||
|
orderCreateResult: {}
|
||||||
},
|
},
|
||||||
async onLoad(options) {
|
async onLoad(options) {
|
||||||
let detailResult = await this.getDetail('1001240724661')
|
let detailResult = await this.getDetail('1001240724661')
|
||||||
@@ -121,10 +131,7 @@ Page({
|
|||||||
...param
|
...param
|
||||||
}).create();
|
}).create();
|
||||||
},
|
},
|
||||||
async buildOrder() {
|
buildOrder() {
|
||||||
const globalCode = 'ali.china.damai';
|
|
||||||
const ttid = '#t#ip##_h5_2014';
|
|
||||||
|
|
||||||
const itemBasicInfo = this.data.detailResult.itemBasicInfo;
|
const itemBasicInfo = this.data.detailResult.itemBasicInfo;
|
||||||
const perform = this.data.detailResult.perform;
|
const perform = this.data.detailResult.perform;
|
||||||
|
|
||||||
@@ -147,6 +154,36 @@ Page({
|
|||||||
return new customRequest.p({
|
return new customRequest.p({
|
||||||
...this.data.orderBuildParam,
|
...this.data.orderBuildParam,
|
||||||
...param,
|
...param,
|
||||||
|
ext_querys: {
|
||||||
|
ttid: this.data.ttid
|
||||||
|
},
|
||||||
|
headers: {
|
||||||
|
globalCode: this.data.globalCode,
|
||||||
|
},
|
||||||
|
ext_headers: {
|
||||||
|
globalCode: this.data.globalCode,
|
||||||
|
}
|
||||||
|
}).create();
|
||||||
|
},
|
||||||
|
createOrder() {
|
||||||
|
const global = this.data.orderBuildResult.global;
|
||||||
|
const param = {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
const querys = {
|
||||||
|
isSec: 1,
|
||||||
|
AntiCreep: true,
|
||||||
|
ttid: this.data.ttid,
|
||||||
|
tb_eagleeyex_scm_project: '20190509-aone2-join-test'
|
||||||
|
}
|
||||||
|
|
||||||
|
querys[global.secretKey] = global.secretValue;
|
||||||
|
|
||||||
|
return new customRequest.p({
|
||||||
|
...this.data.orderBuildParam,
|
||||||
|
...param,
|
||||||
|
data: {},
|
||||||
ext_querys: {
|
ext_querys: {
|
||||||
ttid
|
ttid
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -7038,7 +7038,6 @@ require('../sub-vendors.js'),
|
|||||||
style: l.length - 1 === t ? {} : { marginBottom: '15px' },
|
style: l.length - 1 === t ? {} : { marginBottom: '15px' },
|
||||||
onClick: function () {
|
onClick: function () {
|
||||||
console.log("点击啊")
|
console.log("点击啊")
|
||||||
debugger
|
|
||||||
return g(e, t)
|
return g(e, t)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user