更新
This commit is contained in:
parent
efe604afe6
commit
0e14ecf14f
@ -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]);
|
||||
|
@ -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);
|
||||
|
@ -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');
|
Loading…
x
Reference in New Issue
Block a user