...
|
...
|
@@ -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,
|
|
|
})
|
...
|
...
|
|