diff --git a/app/api/controller/JunziqianController.php b/app/api/controller/JunziqianController.php index a7b4182d9..72bd49977 100644 --- a/app/api/controller/JunziqianController.php +++ b/app/api/controller/JunziqianController.php @@ -86,7 +86,7 @@ class JunziqianController extends BaseApiController if (isset($data['master_email'])) { $request->emailOrMobile = $data['master_email']; //邮箱 } - $request->notifyUrl = 'https://worker-task.lihaink.cn/api/v1/notify_authentication?id=' . $data['id']; + $request->notifyUrl = 'https://worker-task.lihaink.cn/notify_authentication?id=' . $data['id']; // $request->emailOrMobile = ; //邮箱 //发起创建企业请求 $response = $requestUtils->doPost("/v2/user/organizationCreate", $request); diff --git a/app/api/route/index.php b/app/api/route/index.php index 768ad0b34..262f45532 100644 --- a/app/api/route/index.php +++ b/app/api/route/index.php @@ -2,6 +2,5 @@ use think\facade\Route; Route::group('v1', function () { - Route::post('/notify_authentication','/Index/notifyAuthentication'); Route::post('/notify_property','/Index/notifyProperty'); })->prefix('api'); \ No newline at end of file diff --git a/route/app.php b/route/app.php index 5c74be492..fb5a9ef40 100755 --- a/route/app.php +++ b/route/app.php @@ -35,4 +35,5 @@ Route::rule('crontab', function () { }); Route::post('/notify_url', IndexController::class . '@notifyUrl'); +Route::post('/notify_authentication',IndexController::class . '@notifyAuthentication'); Route::get('/api/junziqian/download_file',JunziqianController::class . '@download_file'); \ No newline at end of file