# -*- coding: utf-8 -*- # @Author: Owl # @Date: 2025/11/10 18:12 # @Description: import json import logging import requests from flask import Flask, request from app.cross_eva_views import app from app.flow_worker import cross_flow_usable_date, cross_flow_tp_divide, auto_match_phase @app.route('/api/cross_flow_usable_date', methods=['GET']) def cross_flow_usable_date_route(): return cross_flow_usable_date(dict(request.args)) @app.route('/api/cross_flow_tp_divide', methods=['POST']) def cross_flow_tp_divide_route(): return cross_flow_tp_divide(request.json) @app.route('/api/auto_match_phase', methods=['POST']) def auto_match_phase_route(): return auto_match_phase(request.json)