|
|
@@ -16,6 +16,9 @@ Route::group(function () {
|
|
|
//验证码
|
|
|
Route::get('captcha_pro', 'Login/captcha');
|
|
|
|
|
|
+ Route::any('open/ticket', 'merchant.Open/wxTicketCallback');//授权事件接收URL
|
|
|
+ Route::any('open/callback/:appid', 'merchant.Open/wxCallback');//消息与事件接收URL
|
|
|
+
|
|
|
})->middleware(AllowOriginMiddleware::class);
|
|
|
|
|
|
/**
|
|
|
@@ -28,4 +31,4 @@ Route::miss(function () {
|
|
|
return Response::create('ok')->code(200)->header($header);
|
|
|
} else
|
|
|
return Response::create()->code(404);
|
|
|
-});
|
|
|
+});
|