From 288b3dd73cd0991990a8d12a8607069aebffa3f4 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Tue, 20 Nov 2018 17:36:15 +0800 Subject: [PATCH] user --- alipay/app.js | 2 +- service/Application/Api/Controller/OrderController.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);