update
This commit is contained in:
parent
ee4693d4a1
commit
abe940ee12
@ -27,8 +27,6 @@ class JunziqianController extends BaseApiController
|
||||
/**默认ts单位:1毫秒,2秒*/
|
||||
private $tsType;
|
||||
|
||||
private $domain = 'https://logistics.lihaink.cn';
|
||||
|
||||
/**
|
||||
* 填充签名数据
|
||||
* @param $req array
|
||||
@ -138,7 +136,7 @@ class JunziqianController extends BaseApiController
|
||||
$request->serverCa = 1; //是否需要服务端云证书
|
||||
$request->fileType = 1; //合同上传方式 url
|
||||
$request->url = $data['url'];
|
||||
$request->notifyUrl = $this->domain.'/api/index/notifyUrl?id='.$id;
|
||||
$request->notifyUrl = env('project.website_domain').'/api/index/notifyUrl?id='.$id;
|
||||
$request->needQifengSign = 1;
|
||||
//发起PING请求
|
||||
// halt($request);
|
||||
@ -173,6 +171,7 @@ class JunziqianController extends BaseApiController
|
||||
|
||||
//html模板
|
||||
public function html_contract($data, $id)
|
||||
|
||||
{
|
||||
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||
//CURLFile 可以传url或filePath,但必须保证文件存在且有效,否则php不会报错,只会导致http请求返回null(并没有调到服务端)。
|
||||
@ -183,7 +182,7 @@ class JunziqianController extends BaseApiController
|
||||
$request->serverCa = 1; //是否需要服务端云证书
|
||||
$request->fileType = 3;
|
||||
$request->htmlContent = $data['content'];
|
||||
$request->notifyUrl = $this->domain.'/api/index/notifyUrl?id='.$id;
|
||||
$request->notifyUrl = env('project.website_domain').'/api/index/notifyUrl?id='.$id;
|
||||
$request->needQifengSign = 1;
|
||||
|
||||
//发起PING请求
|
||||
|
Loading…
x
Reference in New Issue
Block a user