yii2: how to set Access-Control-Allow-Origin header

前端 未结 0 1780
走了就别回头了
走了就别回头了 2021-02-20 01:55

I have this yii2 controller where I want to set Access-Control-Allow-Origin: * header

class DoctorController extends ActiveController
{
    public $m         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题