Initial commit of secondary development sample code

This commit is contained in:
2026-01-19 10:39:22 +08:00
commit c2697affd9
66 changed files with 17277 additions and 0 deletions

View File

@ -0,0 +1,15 @@
import base64
import json
from flask import Blueprint, request
from app import url_prefix
bp = Blueprint('vlreview', __name__, url_prefix=url_prefix)
@bp.route('vlreview', methods=['POST'])
def post_alert():
data = json.loads(request.get_data().decode('utf-8'))
print(data)
return data