初始提交

This commit is contained in:
fanbook-wangdage
2025-12-28 17:01:42 +08:00
parent 3cace74c08
commit d67e42b067
20 changed files with 1284 additions and 0 deletions

12
routes/announcement.py Normal file
View File

@@ -0,0 +1,12 @@
from flask import Blueprint, jsonify
from services.announcement_service import get_announcements
announcement_bp = Blueprint("announcement", __name__)
@announcement_bp.route("/List", methods=["POST"])
def list_announcements():
return jsonify({
"code": 0,
"message": "OK",
"data": get_announcements()
})