Fixed errors
This commit is contained in:
7
app/ticket/__init__.py
Normal file
7
app/ticket/__init__.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# coding=utf-8
|
||||
|
||||
from flask import Blueprint
|
||||
|
||||
ticket = Blueprint('ticket', __name__)
|
||||
|
||||
from . import views
|
||||
14
app/ticket/views.py
Normal file
14
app/ticket/views.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from flask import jsonify
|
||||
from app.ticket import ticket
|
||||
from app import db
|
||||
from app.classes.delivery import Delivery_Delivery
|
||||
|
||||
|
||||
@ticket.route("/<int:ticket_id>", methods=["GET"])
|
||||
def get_ticket_printer_letter(ticket_id):
|
||||
|
||||
|
||||
|
||||
return jsonify({"ok": True,
|
||||
|
||||
}), 200
|
||||
Reference in New Issue
Block a user