This commit is contained in:
mkm 2023-08-25 14:56:58 +08:00
parent efe604afe6
commit 0e14ecf14f
3 changed files with 3 additions and 4 deletions

View File

@ -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]);

View File

@ -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);

View File

@ -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');
})->prefix('api');