24 lines
1.2 KiB
PHP
24 lines
1.2 KiB
PHP
<?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('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 ...
|