all products
This commit is contained in:
@@ -61,7 +61,7 @@ class ProductsService(BaseService):
|
|||||||
|
|
||||||
# Simulate processing
|
# Simulate processing
|
||||||
response_data = {
|
response_data = {
|
||||||
"data": data.fetchall(),
|
"data": data,
|
||||||
"member_id": 0,
|
"member_id": 0,
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ class Products(db.Model):
|
|||||||
# id > 0
|
# id > 0
|
||||||
# ).all()
|
# ).all()
|
||||||
#
|
#
|
||||||
product_list = cls.query.all()
|
product_list = cls.query.all()
|
||||||
|
|
||||||
return product_list
|
return product_list
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user