You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
568 B
16 lines
568 B
<?php
|
|
/**
|
|
* Api路由
|
|
*/
|
|
|
|
use think\facade\Route;
|
|
|
|
Route::group('api', function() {
|
|
// 微信验证路由地址
|
|
Route::rule('InvoiceIssuance/add', 'api.InvoiceIssuance/add', 'post')->middleware(\app\middleware\WechatAuth::class);
|
|
Route::rule('InvoiceIssuance/delete', 'api.InvoiceIssuance/delete', 'post')->middleware(\app\middleware\WechatAuth::class);
|
|
// 测试FeeService 接口
|
|
Route::rule('Test/index', 'api.Test/index', 'get');
|
|
//MISS路由定义
|
|
//Route::miss('api.Miss/index');
|
|
});//->middleware(app\middleware\ApiResponse::class)
|
|
|