CommentService.class.php
707 Bytes
<?php
/**
* Created by PhpStorm.
* User: zhonglei
* Date: 17/10/10
* Time: 19:55
*/
namespace Common\Service;
use Common\Model\CommentModel;
class CommentService extends AbstractService
{
// 构造方法
public function __construct()
{
parent::__construct();
$this->_d = new CommentModel();
}
/**
* 根据评论对象,获取评论总数
* @author liyifei
* @param string $uid 人员UID
* @param string $app 应用
* @param array $app_data_ids 评论对象ID
* @return array
*/
public function listCommentTotal($uid, $app, $app_data_ids)
{
return $this->_d->listCommentTotal($uid, $app, $app_data_ids);
}
}