mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 18:59:56 +09:00
포인트 모듈에 포인트순으로 회원목록 보기 및 개별 회원의 포인트 수정할 수 있는 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2033 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
eb9bd1d30b
commit
94bf8a08b6
11 changed files with 131 additions and 1 deletions
|
|
@ -50,5 +50,27 @@
|
|||
$level --;
|
||||
return $level;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 포인트 순 회원목록 가져오기
|
||||
**/
|
||||
function getMemberList($args = null) {
|
||||
if(!$args) {
|
||||
$args->list_count = 20;
|
||||
$args->page = 1;
|
||||
}
|
||||
$output = executeQuery("point.getMemberList", $args);
|
||||
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;
|
||||
}
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue