ruankao/route/app.php
2025-07-14 14:55:25 +08:00

41 lines
1.6 KiB
PHP

<?php
/**
* 商业使用授权协议
*
* Copyright (c) 2025 [云泽网]. 保留所有权利.
*
* 本软件仅供评估使用。任何商业用途必须获得书面授权许可。
* 未经授权商业使用本软件属于侵权行为,将承担法律责任。
*
* 授权购买请联系: 357099073@qq.com
* 官方网站: https://www.yunzer.cn
*
* 评估用户须知:
* 1. 禁止移除版权声明
* 2. 禁止用于生产环境
* 3. 禁止转售或分发
*/
// +----------------------------------------------------------------------
// | 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('index/wechat/index', 'index/wechat/index');
Route::post('index/wechat/index', 'index/wechat/index');
Route::get('index/wechat/test', 'index/wechat/test');
Route::get('index/wechat/getLoginTicket', 'index/wechat/getLoginTicket');
Route::post('index/wechat/checkLoginStatus', 'index/wechat/checkLoginStatus');
Route::post('index/wechat/reGenerateQrcode', 'index/wechat/reGenerateQrcode');
Route::get('index/wechat/testWechat', 'index/wechat/testWechat');
Route::post('index/wechat/testWechat', 'index/wechat/testWechat');
// ... existing code ...