Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
ruer_cms
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
0
Merge Requests
0
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
蔡闯
ruer_cms
Commits
972de477
Commit
972de477
authored
Jun 25, 2021
by
蔡闯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2021-6-25
parent
805a2a2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
app/admin/controller/Company.php
app/admin/controller/Company.php
+6
-1
No files found.
app/admin/controller/Company.php
View file @
972de477
...
...
@@ -52,7 +52,12 @@ class Company extends Base
public
function
getBusInfo
()
{
$res
=
Db
::
name
(
'bus'
)
->
where
([
'id'
=>
1
])
->
find
();
$res
[
'content'
]
=
json_decode
(
$res
[
'content'
],
true
);
if
(
$res
[
'content'
])
{
$res
[
'content'
]
=
json_decode
(
$res
[
'content'
],
true
);
}
else
{
$res
[
'content'
]
=
[];
}
return
$this
->
returnJson
(
$res
);
}
...
...
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