mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
회원 포인트 목록에 모든 회원 출력 및 검색 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2642 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d991c11ac2
commit
c6825dda59
3 changed files with 47 additions and 8 deletions
|
|
@ -57,21 +57,21 @@
|
|||
* @brief 포인트 순 회원목록 가져오기
|
||||
**/
|
||||
function getMemberList($args = null) {
|
||||
if(!$args) {
|
||||
$args->list_count = 20;
|
||||
$args->page = 1;
|
||||
}
|
||||
$output = executeQuery("point.getMemberList", $args);
|
||||
// member model 객체 생성후 목록을 구해옴
|
||||
$oMemberModel = &getAdminModel('member');
|
||||
$output = $oMemberModel->getMemberList();
|
||||
|
||||
if($output->total_count) {
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('point');
|
||||
|
||||
foreach($output->data as $key => $val) {
|
||||
$point = $val->point;
|
||||
$level = $this->getLevel($val->point, $config->level_step);
|
||||
$output->data[$key]->level = $level;
|
||||
$point = $this->getPoint($val->member_srl);
|
||||
$output->data[$key]->point = $point;
|
||||
$output->data[$key]->level = $this->getLevel($point, $config->level_step);
|
||||
}
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue