return [
'v1/wechat/oath' => ['v1/wechat/oath', ['method' => 'post']],
];
这种模式如何改成
use think\Route;
Route::get('v1/wechat/oath','v1/wechat/oath');
一直报错。。
[think\exception\ErrorException]
Non-static method think\Route::get() should not be called statically