// 允许跨域请求的地址'allowUrls' => [ 'http://localhost:8080', 'http://192.168.2.224', 'http://192.168.2.224:8080', 'http://192.168.2.200', 'http://192.168.2.102:350', 'http://192.168.2.77', 'http://192.168.2.77:80',], public function _initialize(){ //-------