|
@@ -808,7 +808,6 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
|
|
|
order.payValue = order.payValue - order.balance;
|
|
|
}
|
|
|
order.addOrder(user.id, payChannel, function (res) {
|
|
|
- console.log(res);
|
|
|
$doc.trigger('spa:closeloader');
|
|
|
if (res.success) {
|
|
|
// 更新user的订单
|
|
@@ -864,7 +863,6 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
|
|
|
/* 只有首页跳转来,才会带有needReset = true */
|
|
|
/*获取上一页跳转的路由名称*/
|
|
|
backHash = pushData.backHash ? pushData.backHash : '';
|
|
|
- console.log(backHash);
|
|
|
|
|
|
if (pushData.hasOwnProperty('needReset') && pushData.needReset) {
|
|
|
/* 接收首页传来的product,填写order的productType(产品类型)、productID(产品ID)两个字段 */
|