From c10d7ff55490b392e30f7a0c8a564835fd9a1835 Mon Sep 17 00:00:00 2001
From: mkm <727897186@qq.com>
Date: Fri, 25 Aug 2023 15:00:00 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/api/controller/JunziqianController.php | 2 +-
 app/api/route/index.php                    | 1 -
 route/app.php                              | 1 +
 3 files changed, 2 insertions(+), 2 deletions(-)

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