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,43 @@
<?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>
// +----------------------------------------------------------------------
use think\facade\Route;
Route::get('think', function () {
return 'hello,ThinkPHP6!';
});
Route::get('hello/:name', 'index/hello');
Route::rule('/','Index/index');
//登录注册
Route::post('reg','Login/reg');
Route::post('login','Login/index');
Route::post('forget','Login/forget');
Route::get('logout','Login/logout');
//公共接口
Route::post('getSmsCode','Api/getSmsCode');
Route::post('uploadFile','Api/upload')->append(['type' => 'image']);
Route::get('buyerBankList','Api/getBuyerAvailableBankList');
//买家认证
Route::group('certification',function(){
Route::post('add','add');
Route::get('get','get');
})->prefix('certification.Buyer/');
Route::rule('i/:inviteCode','Landing/index');
Route::rule('test','Test/index');
Route::rule('testtest','TestTest/indexIndex');