|
@@ -32,7 +32,7 @@ Page({
|
|
|
var netwrok_id = options.network_id;
|
|
|
var order_num = options.order_num;
|
|
|
var is_deposit = options.is_deposit;
|
|
|
- var device_id = options.device_id;
|
|
|
+ var device_id = options.device_id?options.device_id:0;
|
|
|
|
|
|
console.log(options);
|
|
|
this.setData({
|
|
@@ -129,7 +129,7 @@ Page({
|
|
|
|
|
|
app.api.useApi(app.globalData.baseAppUrl + "api/order/index", data, "get").then(function (res) {
|
|
|
if (res.code != 200) {
|
|
|
- console.log(res.message.msg)
|
|
|
+ console.log(res)
|
|
|
wx.showLoading({
|
|
|
title: '订单加载失败',
|
|
|
})
|
|
@@ -144,7 +144,7 @@ Page({
|
|
|
wx.hideLoading();
|
|
|
|
|
|
}).catch(function (err) {
|
|
|
- console.log(222);
|
|
|
+ console.log(err);
|
|
|
})
|
|
|
},
|
|
|
opentask(no = "", type = "") {
|