url错误
This commit is contained in:
parent
4a5cf12d4f
commit
21944f9987
@ -327,7 +327,7 @@ class JunziqianController extends BaseApiController
|
||||
$response = $requestUtils->doPost("/v2/sign/presLinkFile", $request);
|
||||
if ($response->success == true) {
|
||||
$this->getDownload($response->data, root_path() . 'public/uploads/evidence/' . $param['applyNo'] . '.zip');
|
||||
Db::name('contract')->where('contract_no', $param['applyNo'])->update(['evidence' => '/uploads/evidence/' . $param['applyNo'] . '.zip']);
|
||||
Db::name('contract')->where('contract_no', $param['applyNo'])->update(['evidence_url' => '/uploads/evidence/' . $param['applyNo'] . '.zip']);
|
||||
return $this->success('获取成功', ['url' => env('url.url_prefix') . '/uploads/evidence/' . $param['applyNo'] . '.zip']);
|
||||
} else {
|
||||
return $this->fail('获取失败');
|
||||
|
Loading…
x
Reference in New Issue
Block a user