1 Star 0 Fork 0

叶令/esign

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
File.php 661 Bytes
Copy Edit Raw Blame History
叶令 authored 2021-08-06 11:57 +08:00 . 1
<?php
namespace ESign\File;
use ESign\Core\AbstractAPI;
use ESign\Exceptions\HttpException;
use ESign\Support\Collection;
class File extends AbstractAPI
{
/**
* @param $templateId
* @param $name
* @param $simpleFormFields
* @return Collection|null
* @throws HttpException
*/
public function createByTemplateId($templateId, $name, $simpleFormFields)
{
$url = '/v1/files/createByTemplate';
$params = [
'name' => $name,
'templateId' => $templateId,
'simpleFormFields' => $simpleFormFields,
];
return $this->parseJSON('json', [$url, $params]);
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/tc_net/esign.git
git@gitee.com:tc_net/esign.git
tc_net
esign
esign
master

Search