更新
This commit is contained in:
parent
efe604afe6
commit
0e14ecf14f
@ -193,7 +193,6 @@ class IndexController extends BaseApiController
|
|||||||
public function notifyAuthentication()
|
public function notifyAuthentication()
|
||||||
{
|
{
|
||||||
$parmas = Request()->param();
|
$parmas = Request()->param();
|
||||||
halt($parmas);
|
|
||||||
Log::error('notifyAuthentication', $parmas);
|
Log::error('notifyAuthentication', $parmas);
|
||||||
if ($parmas) {
|
if ($parmas) {
|
||||||
Company::where('id',$parmas['id'])->update(['is_authentication'=>1]);
|
Company::where('id',$parmas['id'])->update(['is_authentication'=>1]);
|
||||||
|
@ -86,7 +86,7 @@ class JunziqianController extends BaseApiController
|
|||||||
if (isset($data['master_email'])) {
|
if (isset($data['master_email'])) {
|
||||||
$request->emailOrMobile = $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 = ; //邮箱
|
// $request->emailOrMobile = ; //邮箱
|
||||||
//发起创建企业请求
|
//发起创建企业请求
|
||||||
$response = $requestUtils->doPost("/v2/user/organizationCreate", $request);
|
$response = $requestUtils->doPost("/v2/user/organizationCreate", $request);
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
use think\facade\Route;
|
use think\facade\Route;
|
||||||
|
|
||||||
Route::group('v1', function () {
|
Route::group('v1', function () {
|
||||||
|
Route::post('/notify_authentication','/Index/notifyAuthentication');
|
||||||
Route::post('/notify_property','/Index/notifyProperty');
|
Route::post('/notify_property','/Index/notifyProperty');
|
||||||
})->prefix('api');
|
})->prefix('api');
|
||||||
Route::post('/notify_property','/Index/notifyProperty');
|
|
Loading…
x
Reference in New Issue
Block a user