mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
1)修改了一些注释的错误参数类型和返回类型
2)修改了一些无意义的变量名 3)本次 commit 没有逻辑上的变动
This commit is contained in:
@@ -123,7 +123,7 @@ trait Adv
|
||||
/**
|
||||
* 检查乐观锁
|
||||
* @access protected
|
||||
* @param inteter $id 当前主键
|
||||
* @param integer $id 当前主键
|
||||
* @param array $data 当前数据
|
||||
* @return mixed
|
||||
*/
|
||||
@@ -217,6 +217,7 @@ trait Adv
|
||||
* @param array $data 数据
|
||||
* @param string $type 返回类型 默认为数组
|
||||
* @return mixed
|
||||
* @throws \think\Exception
|
||||
*/
|
||||
public function returnResult($data, $type = 'array')
|
||||
{
|
||||
@@ -240,7 +241,7 @@ trait Adv
|
||||
* @access protected
|
||||
* @param array $resultSet 数据
|
||||
* @param string $type 返回类型 默认为数组
|
||||
* @return void
|
||||
* @return array
|
||||
*/
|
||||
protected function returnResultSet(&$resultSet, $type = '')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user