sys.php 906 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. use Illuminate\Http\Request;
  3. /*
  4. |--------------------------------------------------------------------------
  5. | API Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register API routes for your application. These
  9. | routes are loaded by the RouteServiceProvider within a group which
  10. | is assigned the "api" middleware group. Enjoy building your API!
  11. |
  12. */
  13. /*Route::any('/{class}/{action}', function ( $class, $action) {
  14. $module='api';
  15. return appExec($module, $class, $action);
  16. })->middleware('auth.jwt');*/
  17. /*Route::group(['namespace'=>'Sys','prefix'=>'sys','middleware'=>''],function () {
  18. echo 432;die;
  19. Route::post('app/loginOut','AppController@loginOut')->name('sys.app.loginOut')->middleware();
  20. });*/
  21. // Route::middleware('auth:api')->get('/user', function (Request $request) {
  22. // return $request->user();
  23. // });