@@ -25,7 +25,7 @@ define(['config', 'base'], function(config, base) {
var that = this;
this.isLoading = true;
$.signAjax({
- url: config.apiPath + '/index.php?r=api/user/info',
+ url: config.apiPath + '/index.php?r=o2o/user/info',
data: data,
dataType: 'JSON',
success: function(res) {
@@ -141,7 +141,7 @@
console.log(bookingTime)
$('#order-name').text(body);
- if (bookingTime){
+ if (typeof(bookingTime) != "undefined"){
console.log('text')
$('#order-time').text(bookingTime);
}else {