Browse Source

测试user

jmx 8 years ago
parent
commit
997984f3d8

File diff suppressed because it is too large
+ 0 - 0
www/webapp/o2o/dist/js/api.js


File diff suppressed because it is too large
+ 0 - 0
www/webapp/o2o/dist/js/main.js


+ 1 - 1
www/webapp/o2o/js/api.js

@@ -25,7 +25,7 @@ define(['config', 'base'], function(config, base) {
 		var that = this;
 		this.isLoading = true;
 		$.signAjax({
-			url: config.apiPath + '/index.php?r=o2o/user/info',
+			url: config.apiPath + '/index.php?r=api/user/info',
 			data: data,
 			dataType: 'JSON',
 			success: function(res) {

+ 3 - 3
www/webapp/o2o/module/pay/index.html

@@ -138,11 +138,11 @@
       created = formatDate(created);
       amount = amount / 100;
 
-      console.log('111111111111')
-      console.log(bookingTime)
+      console.log('22222222222')
+      console.log(typeof bookingTime)
 
       $('#order-name').text(body);
-      if (bookingTime != undefined){
+      if (typeof bookingTime != 'undefined'){
         console.log('text')
         $('#order-time').text(bookingTime);
       }else {

Some files were not shown because too many files changed in this diff