diff --git a/alipay/app.js b/alipay/app.js index 4f45a4ad8..a8257e073 100755 --- a/alipay/app.js +++ b/alipay/app.js @@ -46,7 +46,7 @@ App({ // 请求地址 request_url: "https://demo.shopxo.net/", - //request_url: 'http://localhost/project/shopxo/service/', + request_url: 'http://localhost/project/shopxo/service/', // 基础信息 application_title: "ShopXO电商系统", diff --git a/service/Application/Api/Controller/OrderController.class.php b/service/Application/Api/Controller/OrderController.class.php index 9e1e75c66..28dea711c 100755 --- a/service/Application/Api/Controller/OrderController.class.php +++ b/service/Application/Api/Controller/OrderController.class.php @@ -46,7 +46,7 @@ class OrderController extends CommonController { // 分页 $number = 10; - $page = max(1, isset($this->data_post['page']) ? intval($this->data_post['page']) : 1)); + $page = max(1, isset($this->data_post['page']) ? intval($this->data_post['page']) : 1); // 条件 $where = OrderService::UserOrderListWhere($this->data_post);