Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
php_frq_api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
619194ec
authored
Mar 25, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整
parent
beb3c5df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
app/Model/OpLogModel.php
app/Model/OpLogModel.php
View file @
619194ec
...
...
@@ -17,7 +17,7 @@ class OpLogModel extends Model
//列表
public
function
getList
()
{
$input
=
Request
::
all
();
$input
=
Request
::
all
();
$list
=
$this
->
where
(
function
(
$query
)
use
(
$input
)
{
foreach
(
$input
as
$k
=>
$v
){
$v
=
trim
(
$v
);
...
...
@@ -25,6 +25,7 @@ class OpLogModel extends Model
continue
;
}
switch
(
$k
){
case
"relation_id"
:
case
"relation_sn"
:
case
"types"
:
$query
->
where
(
$k
,
$v
);
...
...
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