|
|
@ -1,4 +1,5 @@ |
|
|
|
<?php |
|
|
|
|
|
|
|
/** |
|
|
|
* |
|
|
|
*/ |
|
|
@ -138,11 +139,7 @@ class index extends publicBase { |
|
|
|
if (!$data) $this->ajax_json(false, $m_user_case->getError()); |
|
|
|
$total = $m_user_case->getUserCaseListCount($uid); |
|
|
|
|
|
|
|
$return = array( |
|
|
|
'total' => $total, |
|
|
|
'current_page' => $page_num, |
|
|
|
'total_page' => ceil($total/$page_size) |
|
|
|
); |
|
|
|
$return = array('total' => $total, 'current_page' => $page_num, 'total_page' => ceil($total / $page_size)); |
|
|
|
$return = array_merge($return, $data); |
|
|
|
|
|
|
|
$this->ajax_json(true, '获取成功', $return); |
|
|
|