Commit a38ad7f7 authored by zw's avatar zw

活动添加修改获取

parent b03c2e95
...@@ -30,9 +30,9 @@ class UAccountBalance extends Model ...@@ -30,9 +30,9 @@ class UAccountBalance extends Model
public function getBalanceList($params) public function getBalanceList($params)
{ {
$pageNo = empty($params['pageNo']) ? 0 : $params['pageNo']; $pageNo = empty($params['pageNo']) ? 1 : $params['pageNo'];
$pageSize = empty($params['pageSize']) ? 15 : $params['pageSize']; $pageSize = empty($params['pageSize']) ? 15 : $params['pageSize'];
$indexStart = $pageNo * $pageSize; $indexStart = ($pageNo-1) * $pageSize;
$where_str = ""; $where_str = "";
if (!empty($params['create_time_start']) && !empty($params['create_time_end'])) { if (!empty($params['create_time_start']) && !empty($params['create_time_end'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment