17 lines
573 B
Python
17 lines
573 B
Python
from flask import Blueprint, jsonify
|
|
from sdk_server.models.config.alert_pic_data import AlertPicRsp
|
|
|
|
alert_pic_blueprint = Blueprint('alert_pic', __name__)
|
|
|
|
@alert_pic_blueprint.route('/common/hkrpg_cn/announcement/api/getAlertPic', methods=['GET'])
|
|
@alert_pic_blueprint.route('/common/hkrpg_global/announcement/api/getAlertPic', methods=['GET'])
|
|
def alert_pic():
|
|
response_data = AlertPicRsp(
|
|
retcode=0,
|
|
message="OK",
|
|
data=AlertPicRsp.Data(
|
|
total=0,
|
|
list=[]
|
|
)
|
|
)
|
|
return jsonify(response_data.model_dump()) |