Add item list on the highlight category detail
This commit is contained in:
parent
43319c914a
commit
a960e7af8e
@ -69,6 +69,8 @@ class category:
|
|||||||
try:
|
try:
|
||||||
self.cursor.execute("SELECT * FROM `highlight_category` WHERE `id` = %s ; ", (id,) )
|
self.cursor.execute("SELECT * FROM `highlight_category` WHERE `id` = %s ; ", (id,) )
|
||||||
d = self.cursor.fetchone()
|
d = self.cursor.fetchone()
|
||||||
|
self.cursor.execute("SELECT * FROM `highlight_catalog` WHERE `category` = %s ; ", (id,) )
|
||||||
|
d["catalog"] = self.cursor.fetchall()
|
||||||
loggorilla.prcss(APIADDR, "Set Response")
|
loggorilla.prcss(APIADDR, "Set Response")
|
||||||
response["status" ] = "success"
|
response["status" ] = "success"
|
||||||
response["desc" ] = "data collected"
|
response["desc" ] = "data collected"
|
||||||
|
Loading…
Reference in New Issue
Block a user