public function _initialize() { header ( "Content-type:text/html;charset=utf-8" ); header ( "Access-Control-Allow-Origin:*" ); // 允许任何访问(包括ajax跨域) }
public function _initialize() { header ( "Content-type:text/html;charset=utf-8" ); header ( "Access-Control-Allow-Origin:*" ); // 允许任何访问(包括ajax跨域) }