feat/task1-c-wallet
devil_gong 2018-11-20 17:36:15 +08:00
parent 5a31d3dd42
commit 288b3dd73c
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ App({
// 请求地址 // 请求地址
request_url: "https://demo.shopxo.net/", request_url: "https://demo.shopxo.net/",
//request_url: 'http://localhost/project/shopxo/service/', request_url: 'http://localhost/project/shopxo/service/',
// 基础信息 // 基础信息
application_title: "ShopXO电商系统", application_title: "ShopXO电商系统",

View File

@ -46,7 +46,7 @@ class OrderController extends CommonController
{ {
// 分页 // 分页
$number = 10; $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); $where = OrderService::UserOrderListWhere($this->data_post);