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
26ffa068
authored
Mar 30, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
ssh://119.23.72.7:22611/q578953158/php_frq_api
parents
d5506a79
42f563aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Model/OpLogModel.php
app/Model/QuoteModel.php
app/Model/OpLogModel.php
View file @
26ffa068
...
...
@@ -38,7 +38,7 @@ class OpLogModel extends Model
break
;
}
}
})
->
orderBy
(
'id'
,
'desc'
)
->
paginate
(
@
$input
[
'limit'
]
?
$input
[
"limit"
]
:
10
,
[
'*'
],
'page'
,
@
$input
[
'p
'
]
?
$input
[
"p
"
]
:
1
)
->
toArray
();
})
->
orderBy
(
'id'
,
'desc'
)
->
paginate
(
@
$input
[
'limit'
]
?
$input
[
"limit"
]
:
10
,
[
'*'
],
'page'
,
@
$input
[
'p
age'
]
?
$input
[
"page
"
]
:
1
)
->
toArray
();
if
(
!
$list
)
return
[
20001
,
'没有数据'
];
foreach
(
$list
[
'data'
]
as
$k
=>&
$v
){
$v
[
'types_val'
]
=
$v
[
'types'
]
==
1
?
'询价'
:
'报价'
;
...
...
app/Model/QuoteModel.php
View file @
26ffa068
...
...
@@ -417,7 +417,7 @@ class QuoteModel extends Model
$data
=
[];
$data
[
'types'
]
=
2
;
$data
[
'relation_id'
]
=
$res
->
id
;
$data
[
'relation_sn'
]
=
''
;
$data
[
'relation_sn'
]
=
$quote_info
[
'quote_sn'
]
;
$data
[
'content'
]
=
'新增报价,报价单号:'
.
$quote_info
[
'quote_sn'
];
$data
[
'create_uid'
]
=
$input
[
'user_id'
];
$data
[
'create_name'
]
=
$input
[
'user_name'
];
...
...
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