product avilable
This commit is contained in:
@@ -72,11 +72,19 @@ class ProductsService(BaseService):
|
|||||||
'added': t.added.isoformat() if t.added else None,
|
'added': t.added.isoformat() if t.added else None,
|
||||||
'updated': t.updated.isoformat() if t.updated else None,
|
'updated': t.updated.isoformat() if t.updated else None,
|
||||||
'banner': t.banner,
|
'banner': t.banner,
|
||||||
'prov_status': '',
|
'prov_status': 5,
|
||||||
'status_text': 'Activate Now'
|
'status_text': 'Activate Now'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# export
|
||||||
|
# const
|
||||||
|
# productConst = {
|
||||||
|
# PRODUCT_AVAILABLE: 5,
|
||||||
|
# PRODUCT_PROVISIONING: 6,
|
||||||
|
# PRODUCT_ACTIVE: 7,
|
||||||
|
# PRODUCT_DEACTIVATED: 9,
|
||||||
|
# };
|
||||||
|
#
|
||||||
# Simulate processing
|
# Simulate processing
|
||||||
response_data = {
|
response_data = {
|
||||||
"products_data": product_data,
|
"products_data": product_data,
|
||||||
|
|||||||
Reference in New Issue
Block a user