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
5c2a0402
authored
Apr 28, 2021
by
杜文军
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
历史报价
parent
f2e86f74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
app/Http/Controllers/ApiController.php
app/Model/InquiryModel.php
app/Http/Controllers/ApiController.php
View file @
5c2a0402
...
...
@@ -120,6 +120,8 @@ class ApiController extends Controller
foreach
(
$list
[
'data'
]
as
$k
=>
&
$assign_item
){
$assign_item
[
'goods_name'
]
=
$inquire_item_info
[
'goods_name'
];
$assign_item
[
'brand_name'
]
=
$inquire_item_info
[
'brand_name'
];
$assign_item
[
'status_name'
]
=
"已领取"
;
$assign_item
[
'create_time'
]
=
date
(
"Y-m-d H:i:s"
,
$assign_item
[
'create_time'
]);
}
// 判断当前用户是否有对该询价单报价,如果有报价,那么过滤
...
...
app/Model/InquiryModel.php
View file @
5c2a0402
...
...
@@ -172,7 +172,7 @@ class InquiryModel extends Model
$v
[
'inquiry_sn_origin'
]
=
$v
[
"inquiry_sn"
];
// 查询历史报价数
$v
[
'history_
inquiry
_count'
]
=
$QuoteModel
->
GetHistoryQuotedCount
(
$v
[
'goods_name'
]);
$v
[
'history_
quote
_count'
]
=
$QuoteModel
->
GetHistoryQuotedCount
(
$v
[
'goods_name'
]);
// 在Redis集合中检查是否有新的报价
if
(
$export
==
0
){
...
...
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