This commit is contained in:
weiz 2023-11-07 13:35:03 +08:00
parent 235e3fca23
commit ec1b605077
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ use junziqian\sdk\util\RequestUtils;
use junziqian\sdk\util\ShaUtils;
use CURLFile;
use think\facade\Db;
use think\facade\Log;
class JunziqianController extends BaseLikeAdminController
{
@ -257,11 +258,11 @@ class JunziqianController extends BaseLikeAdminController
$request->fileType = 1; //合同上传方式 url
$request->url = $data['url'];
$request->notifyUrl = $notify . '?id=' . $id;
$request->needQifengSign = 1;
//发起PING请求
// halt($request);
$response = $requestUtils->doPost("/v2/sign/applySign", $request);
Log::write('三轮车签约:'.json_encode($response).'地址:'.$notify,'notice');
return $response;
}