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
b93b14a4
authored
Mar 31, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
99d2a82e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
app/Http/Controllers/ServerController.php
app/Model/InquiryModel.php
app/Http/Controllers/ServerController.php
View file @
b93b14a4
...
...
@@ -28,7 +28,7 @@ class ServerController extends Controller
(
new
LoginModel
())
->
CreatePcToken
(
$request
);
}
//
生成登录token(目前只有pc在用)
//
自动报价
public
function
BatchQuote
(
$request
){
Export
((
new
QuoteModel
())
->
addBatch
(
@
$_REQUEST
[
"data"
]));
}
...
...
app/Model/InquiryModel.php
View file @
b93b14a4
...
...
@@ -340,6 +340,7 @@ class InquiryModel extends Model
// 在Redis集合中检查用户是否被催报价
$res
=
RedisDB
::
sIsMember
(
'frq_inquiry_items_urge'
,
$v
[
'id'
]
.
'-'
.
$user_id
);
$v
[
"inquiry_sn_origin"
]
=
$v
[
'inquiry_sn'
];
if
(
$res
)
{
$urge
=
$InquiryItemsUrgeModel
->
getLastInfo
(
$v
[
'id'
]);
$v
[
'inquiry_sn'
]
=
'<div title="'
.
$urge
[
'remark'
]
.
'">'
.
$v
[
'inquiry_sn'
]
.
'<i style="color:red;">(催)</i></div>'
;
...
...
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