From 0e14ecf14fc13a1f6998408858f5a9f4413ed21e Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 25 Aug 2023 14:56:58 +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/IndexController.php | 1 - app/api/controller/JunziqianController.php | 2 +- app/api/route/index.php | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/api/controller/IndexController.php b/app/api/controller/IndexController.php index f27c04a00..2b6476f28 100755 --- a/app/api/controller/IndexController.php +++ b/app/api/controller/IndexController.php @@ -193,7 +193,6 @@ class IndexController extends BaseApiController public function notifyAuthentication() { $parmas = Request()->param(); - halt($parmas); Log::error('notifyAuthentication', $parmas); if ($parmas) { Company::where('id',$parmas['id'])->update(['is_authentication'=>1]); diff --git a/app/api/controller/JunziqianController.php b/app/api/controller/JunziqianController.php index 72bd49977..a7b4182d9 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/notify_authentication?id=' . $data['id']; + $request->notifyUrl = 'https://worker-task.lihaink.cn/api/v1/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 ed11961eb..768ad0b34 100644 --- a/app/api/route/index.php +++ b/app/api/route/index.php @@ -2,6 +2,6 @@ use think\facade\Route; Route::group('v1', function () { + Route::post('/notify_authentication','/Index/notifyAuthentication'); Route::post('/notify_property','/Index/notifyProperty'); -})->prefix('api'); -Route::post('/notify_property','/Index/notifyProperty'); \ No newline at end of file +})->prefix('api'); \ No newline at end of file