洪海涛 пре 8 година
родитељ
комит
81128260d8
2 измењених фајлова са 1 додато и 2 уклоњено
  1. 0 2
      www/webapp/o2o/js/page/appendPay.js
  2. 1 0
      www/webapp/o2o/js/page/pay.js

+ 0 - 2
www/webapp/o2o/js/page/appendPay.js

@@ -47,8 +47,6 @@ define(['$', 'template', 'api', 'native', 'config', 'user'], function ($, templa
             }
               native.pay(params, function (resA) {
                 if (resA.success) {
-                  console.log(resA);
-                  return false;
                   $doc.trigger('spa:navigate', {
                     hash: 'paySuccess'
                   });

+ 1 - 0
www/webapp/o2o/js/page/pay.js

@@ -30,6 +30,7 @@ define(['$', 'template', 'api', 'native', 'config', 'user'], function ($, templa
                 $doc.trigger('spa:closeloader');
                 if (res.success) {
                     var orderInfo = user.getOrderInfo(orderID);
+                    console.log(orderInfo); return false;
                     var params = {
                         orderInfo: orderInfo,
                         charge: res.data