修改配置文件
This commit is contained in:
parent
c88beb8313
commit
e5747e98ad
|
@ -3,7 +3,6 @@
|
|||
use think\facade\Route;
|
||||
|
||||
if (env('is_test')) {
|
||||
print_r(111);die;
|
||||
Route::post('/front/login', 'app\admin\Login@login')->validate(\app\validate\admin\LoginValidate::class);
|
||||
Route::group('/front', function () {
|
||||
Route::get('/homeData', 'app\front\Index@homeData');
|
||||
|
@ -44,6 +43,8 @@ if (env('is_test')) {
|
|||
|
||||
Route::post('/front/loginSendSms', 'app\front\Login@loginSendSms')->validate(\app\validate\front\LoginValidate::class, 'sendSms')->middleware(\app\middleware\CorsMiddleware::class);
|
||||
} else {
|
||||
print_r(111);die;
|
||||
|
||||
Route::group('/api', function () {
|
||||
Route::post('/front/login', 'app\admin\Login@login')->validate(\app\validate\admin\LoginValidate::class);
|
||||
Route::group('/front', function () {
|
||||
|
|
Loading…
Reference in New Issue