first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1 @@
ee3f9291-e975-4aef-8474-7898ecfc46fc

View File

@@ -0,0 +1,19 @@
<?php
/**
* Created by PhpStorm.
* User: liujia
* Date: 2019/1/30
* Time: 14:39
*/
Route::domain('api', function () {
// Route::group('user', function () {
// // 动态注册域名的路由规则
// Route::post('register_app', 'user/register_app')->crossDomainRule();
// })->middleware(app\http\middleware\ApiMiddleware::class);
//
// Route::group('common', function () {
// // 动态注册域名的路由规则
// Route::post('userTypeInfo', 'common/userTypeInfo')->crossDomainRule();
// })->middleware(app\http\middleware\ApiMiddleware::class);
})->bind('api');

View File

@@ -0,0 +1,20 @@
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
Route::get('think', function () {
return 'hello,ThinkPHP5!';
});
Route::get('hello/:name', 'index/hello');
return [
];