| 123456789101112 |
- <?php
- namespace think;
- use think\admin\service\SystemService;
- header("Access-Control-Allow-Origin: *.weibo.com");
- header("Access-Control-Allow-Methods: GET,POST,HEAD,OPTIONS");
- // 加载基础文件
- require __DIR__ . '/../vendor/autoload.php';
- // WEB应用初始化
- SystemService::instance()->doInit();
|