Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
stock_new
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sugar
stock_new
Commits
694237db
Commit
694237db
authored
Jun 19, 2024
by
董先生
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
持仓列表
parent
7e699245
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
application/market/home/Index.php
application/market/home/Index.php
+1
-1
No files found.
application/market/home/Index.php
View file @
694237db
...
@@ -58,7 +58,7 @@ class Index extends Common
...
@@ -58,7 +58,7 @@ class Index extends Common
$map
[
'title'
]
=
[
'like'
,
"%
$key
%"
];
$map
[
'title'
]
=
[
'like'
,
"%
$key
%"
];
}
}
$map
[
'status'
]
=
1
;
$map
[
'status'
]
=
1
;
$data
=
Db
::
name
(
'stock_list'
)
->
field
(
'code,title,pinyin'
)
->
where
(
$map
)
->
limit
(
10
)
->
select
();
$data
=
Db
::
name
(
'stock_list'
)
->
field
(
'code,title,pinyin
,market
'
)
->
where
(
$map
)
->
limit
(
10
)
->
select
();
if
(
!
$data
)
{
if
(
!
$data
)
{
return
json
([
'data'
=>
$data
,
'status'
=>
0
,
'message'
=>
'操作失败'
]);
return
json
([
'data'
=>
$data
,
'status'
=>
0
,
'message'
=>
'操作失败'
]);
...
...
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