<?php use app\common\middleware\CORS; return [ // 跨域处理 CORS::class, ];