Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-common
Commits
597653eb
Commit
597653eb
authored
Mar 01, 2023
by
zhangdongying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 去除字段限制
parent
321075ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
AppOperateLogService.php
src/GlobalLog/AppOperateLogService.php
+6
-6
No files found.
src/GlobalLog/AppOperateLogService.php
View file @
597653eb
...
...
@@ -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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment