Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Automat
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冯佳佳
Automat
Commits
063623ad
Commit
063623ad
authored
Jan 15, 2022
by
Aeolus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9b01a150
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
myapps/pc_management/api/production_portal.py
+2
-2
No files found.
myapps/pc_management/api/production_portal.py
View file @
063623ad
...
@@ -370,7 +370,7 @@ def get_brand_detail():
...
@@ -370,7 +370,7 @@ def get_brand_detail():
brand_id
=
json_data
[
"brand_id"
]
brand_id
=
json_data
[
"brand_id"
]
admin
=
g
.
user
admin
=
g
.
user
select_sql
=
"""select b.id,b.brand_name,b.status
select_sql
=
"""select b.id,b.brand_name,b.status
, b.img
"""
"""
from_sql
=
""" from brand b """
from_sql
=
""" from brand b """
...
@@ -384,7 +384,7 @@ def get_brand_detail():
...
@@ -384,7 +384,7 @@ def get_brand_detail():
return
BaseResponse
(
return
BaseResponse
(
data
=
{
"brand_id"
:
info
.
id
,
"brand_name"
:
info
.
brand_name
,
data
=
{
"brand_id"
:
info
.
id
,
"brand_name"
:
info
.
brand_name
,
"status"
:
info
.
status
,
"status"
:
info
.
status
,
"img"
:
info
.
img
})
})
...
...
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