| 123456789101112131415161718192021222324252627282930313233 |
- <?php
- // +----------------------------------------------------------------------
- // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
- // +----------------------------------------------------------------------
- // | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
- // +----------------------------------------------------------------------
- // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
- // +----------------------------------------------------------------------
- // | Author: CRMEB Team <admin@crmeb.com>
- // +----------------------------------------------------------------------
- use think\facade\Route;
- use app\common\middleware\AllowOriginMiddleware;
- //不带token认证
- Route::group(function () {
- Route::get('test', 'merchant.system.admin.Login/test');
- //验证码
- Route::get('captcha', 'merchant.system.admin.Login/getCaptcha');
- //登录
- Route::post('login', 'merchant.system.admin.Login/login');
- Route::post('ajstatus', 'merchant.system.admin.Login/ajCaptchaStatus');
- Route::get('login_config', 'admin.Common/loginConfig');
- //滑块验证码
- Route::get('ajcaptcha', 'api.Auth/ajcaptcha');
- Route::post('ajcheck', 'api.Auth/ajcheck');
- })->middleware(AllowOriginMiddleware::class)->option([
- '_auth' => false,
- ]);
|