report service added
This commit is contained in:
@@ -14,7 +14,7 @@ from app.api.services import (
|
||||
CommonDataService,
|
||||
OfficeCustomerService,
|
||||
GenerativesService, OfficeUsersService, OfficeTemplatesService, OfficeCountryService, WebsiteService,
|
||||
FileUploadService
|
||||
FileUploadService, ReportService
|
||||
)
|
||||
from app.api.services.comments import CommentsService
|
||||
from app.models import Country
|
||||
@@ -269,6 +269,16 @@ def get_myproduct_templates():
|
||||
return response
|
||||
|
||||
|
||||
@api.route("/panel/report/topics", methods=["POST"])
|
||||
@jwt_required()
|
||||
def merms_report_topics():
|
||||
data = request.get_json()
|
||||
response = ReportService.process_report_topic_request(data)
|
||||
return response
|
||||
|
||||
|
||||
|
||||
|
||||
@api.route("/panel/account/products/color-styles", methods=["POST"])
|
||||
# @token_required
|
||||
def get_myproduct_colorstyles():
|
||||
|
||||
Reference in New Issue
Block a user