Commit 597653eb authored by zhangdongying's avatar zhangdongying

feat: 去除字段限制

parent 321075ff
......@@ -96,7 +96,7 @@ class AppOperateLogService
* 添加用户操作日志
*
* @param string $tableName 表名
* @param string $recordId 记录ID
* @param string|int $recordId 记录ID
* @param string $operateType 操作类型
* @param string|array|Model $param 参数
* @param string|array|Model $before 修改之前数据
......@@ -107,7 +107,7 @@ class AppOperateLogService
*/
public function addUserOperateLog(
string $tableName,
string $recordId,
$recordId,
string $operateType,
$param,
$before,
......@@ -123,7 +123,7 @@ class AppOperateLogService
$this->getClientIp(),
make(RequestInterface::class)->url(),
$tableName,
$recordId,
(string)$recordId,
$operateType,
$this->formatSourceData($param),
$this->formatSourceData($before),
......@@ -137,7 +137,7 @@ class AppOperateLogService
*
* @param string $action 方法全路径
* @param string $tableName 表名
* @param string $recordId 记录ID
* @param string|int $recordId 记录ID
* @param string $operateType 操作类型
* @param string|array|Model $param 参数
* @param string|array|Model $before 修改之前数据
......@@ -149,7 +149,7 @@ class AppOperateLogService
public function addSystemOperateLog(
string $action,
string $tableName,
string $recordId,
$recordId,
string $operateType,
$param,
$before,
......@@ -165,7 +165,7 @@ class AppOperateLogService
'',
$action,
$tableName,
$recordId,
(string)$recordId,
$operateType,
$this->formatSourceData($param),
$this->formatSourceData($before),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment