@@ -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) {
@@ -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 {