sales text
This commit is contained in:
@@ -142,6 +142,8 @@ def myproduct_dash():
|
||||
response = MyProductsService.process_request(data)
|
||||
return response
|
||||
|
||||
# /panel/myproduct/subscription
|
||||
|
||||
# /panel/account/calendar
|
||||
@api.route("/panel/account/calendar", methods=["POST"])
|
||||
def mycalendar_dash():
|
||||
|
||||
@@ -60,6 +60,7 @@ class MyProductsService(BaseService):
|
||||
"myproudct": {
|
||||
"banner": product_data.banner,
|
||||
"description": product_description.details,
|
||||
"sale_text" : product_description.sale_text,
|
||||
"internal_url": "",
|
||||
"price_text": "90 days free and 3.95/Month",
|
||||
"product_id": product_data.product_id,
|
||||
|
||||
@@ -24,7 +24,8 @@ class ProductsDetails(db.Model):
|
||||
)
|
||||
|
||||
product_id = db.Column(db.String(25), nullable=False)
|
||||
details = db.Column(db.String(5000), nullable=False)
|
||||
details = db.Column(db.String(15000), nullable=False)
|
||||
sale_text = db.Column(db.String(15000), nullable=True)
|
||||
added = db.Column(db.DateTime(timezone=True), server_default=func.now())
|
||||
|
||||
|
||||
@@ -48,6 +49,7 @@ class ProductsDetails(db.Model):
|
||||
'id': self.id,
|
||||
'product_id': self.product_id,
|
||||
'details': self.details,
|
||||
'sale_text':self.sale_text,
|
||||
'added': self.added
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user