안읽은 쪽지함 기능 추가

This commit is contained in:
BJRambo 2017-06-04 19:54:28 +09:00
parent 163524f6b0
commit 6ffba36c4d
7 changed files with 76 additions and 4 deletions

View file

@ -267,10 +267,26 @@ class communicationModel extends communication
$args->page = Context::get('page');
$args->list_count = 20;
$args->page_count = 10;
return executeQuery($query_id, $args, $columnList);
}
function getReadedMessages($readed = 'N', $columnList = array())
{
$logged_info = Context::get('logged_info');
$args = new stdClass();
$args->member_srl = $logged_info->member_srl;
$args->readed = $readed;
$args->sort_index = 'message.list_order';
$args->page = Context::get('page');
$args->list_count = 20;
$args->page_count = 10;
$output = executeQueryArray('communication.getReadedMessages', $args, $columnList);
return $output;
}
/**
* Get a list of friends
* @param int $friend_group_srl (default 0)