|
@@ -561,7 +561,7 @@ class CommonFn
|
|
|
|
|
|
/**
|
|
|
*returnInfo 格式化返回信息
|
|
|
- *@author leeon <leeon_on@qq.com>
|
|
|
+ *@author >
|
|
|
*@param bool $status 执行状态
|
|
|
*@param string $info 提示信息
|
|
|
*@param array $data 需要时返回数据
|
|
@@ -594,7 +594,7 @@ class CommonFn
|
|
|
|
|
|
/**
|
|
|
* getPagedata 获取分页数据
|
|
|
- * @author leeon <leeon_on@qq.com>
|
|
|
+ * @author >
|
|
|
* @param string $model 要获取数据的model
|
|
|
* @param string $page 具体第几页
|
|
|
* @param int $pagesize 分页大小
|
|
@@ -667,7 +667,7 @@ class CommonFn
|
|
|
|
|
|
/**
|
|
|
* getPagedatabyID 获取分页数据
|
|
|
- * @author leeon <leeon_on@qq.com>
|
|
|
+ * @author >
|
|
|
* @param string $model 要获取数据的model
|
|
|
* @param int $pagesize 分页大小
|
|
|
* @param string $conditions 查询条件
|
|
@@ -726,7 +726,7 @@ class CommonFn
|
|
|
|
|
|
/**
|
|
|
* formatSolrResult 将solr搜索结果格式化为标准分页格式
|
|
|
- * @author leeon <leeon_on@qq.com>
|
|
|
+ * @author >
|
|
|
* @param array $model 要获取数据的model
|
|
|
* @return array
|
|
|
*/
|
|
@@ -742,7 +742,7 @@ class CommonFn
|
|
|
|
|
|
/**
|
|
|
* 判断对象在model内是否已存在,存在时返回此对象,为api模块控制器封装,不建议在ApiBaseControllers外的地方使用
|
|
|
- * @author leeon <leeon_on@qq.com>
|
|
|
+ * @author >
|
|
|
*@param string $id 要查询对象id
|
|
|
*@param string $Zmodel 要查询的model的Z组件如:ZTopic
|
|
|
*@param string $errorinfo 当对象不存在时向客户端返回的错误信息
|
|
@@ -794,7 +794,7 @@ class CommonFn
|
|
|
|
|
|
/**
|
|
|
* 内容合法性检测
|
|
|
- * @author leeon <leeon_on@qq.com>
|
|
|
+ * @author >
|
|
|
*@param array $data 内容数组,包含需要检测的数据
|
|
|
* 示例:$data = array(
|
|
|
* 'content'=>'呵呵呵呵',
|