更新
This commit is contained in:
@@ -11,9 +11,45 @@ use Throwable;
|
||||
/** Safe public errors deliberately omit provider messages, bodies and transport diagnostics. */
|
||||
class EsignProviderException extends RuntimeException
|
||||
{
|
||||
public function __construct(public string $operation, public string $providerCode)
|
||||
public const APPLICATION_ACCESS_DENIED = 'APPLICATION_ACCESS_DENIED';
|
||||
public const IP_WHITELIST_MISMATCH = 'IP_WHITELIST_MISMATCH';
|
||||
public const SIGNATURE_MISMATCH = 'SIGNATURE_MISMATCH';
|
||||
public const IDENTITY_NAME_REJECTED = 'IDENTITY_NAME_REJECTED';
|
||||
public const IDENTITY_METHOD_REJECTED = 'IDENTITY_METHOD_REJECTED';
|
||||
public const IDENTITY_DOCUMENT_REJECTED = 'IDENTITY_DOCUMENT_REJECTED';
|
||||
public const IDENTITY_QUOTA_REJECTED = 'IDENTITY_QUOTA_REJECTED';
|
||||
|
||||
/** Nullable allowlisted enum; never contains a provider message or identifier. */
|
||||
public ?string $reason;
|
||||
|
||||
public function __construct(public string $operation, public string $providerCode, ?string $reason = null)
|
||||
{
|
||||
parent::__construct('e签宝 ' . $operation . ' 失败(' . $providerCode . ')');
|
||||
$hints = [
|
||||
self::APPLICATION_ACCESS_DENIED => '该应用无权调用此接口,请管理员核查应用的接口授权',
|
||||
self::IP_WHITELIST_MISMATCH => '请求 IP 未通过白名单校验,请管理员核查出口 IP 与应用白名单',
|
||||
self::SIGNATURE_MISMATCH => '请求签名不匹配,请管理员核查签名配置',
|
||||
self::IDENTITY_NAME_REJECTED => '开方医生姓名未通过核身校验,请管理员核对账号登记的证件实名',
|
||||
self::IDENTITY_METHOD_REJECTED => '核身方式不可用,请管理员核对应用开通的认证方式',
|
||||
self::IDENTITY_DOCUMENT_REJECTED => '证件信息未通过核身校验,请核对认证设置',
|
||||
self::IDENTITY_QUOTA_REJECTED => '核身额度不足,请补充认证调试额度',
|
||||
];
|
||||
$validReason = match ($providerCode) {
|
||||
'PROVIDER_403' => in_array($reason, [self::APPLICATION_ACCESS_DENIED, self::IP_WHITELIST_MISMATCH, self::SIGNATURE_MISMATCH], true),
|
||||
'PROVIDER_30500121' => in_array($operation, ['startIdentity', 'startDoctorIdentity', 'startDoctorQuickAuthorization'], true) && in_array($reason, [self::IDENTITY_NAME_REJECTED,
|
||||
self::IDENTITY_METHOD_REJECTED, self::IDENTITY_DOCUMENT_REJECTED, self::IDENTITY_QUOTA_REJECTED], true),
|
||||
default => false,
|
||||
};
|
||||
$this->reason = $validReason ? $reason : null;
|
||||
$message = 'e签宝 ' . $operation . ' 失败(' . $providerCode . ')';
|
||||
if ($this->reason !== null) {
|
||||
$message .= ':' . $hints[$this->reason];
|
||||
} elseif ($operation === 'createPerson' && $providerCode === 'PROVIDER_403') {
|
||||
$message .= ':创建签署账号被拒绝,请管理员核查该应用的接口权限及 IP 白名单';
|
||||
} elseif ($operation === 'signPdf' && $providerCode === 'PROVIDER_10002') {
|
||||
// The signing service and local initialization reuse this numeric code for different errors.
|
||||
$message = 'e签宝签署次数不足(10002),请为当前应用补充电子签名 SDK 3.0 签署额度后重试';
|
||||
}
|
||||
parent::__construct($message);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,13 +66,16 @@ class EsignOutcomeUnknownException extends EsignProviderException
|
||||
* SDK 3.x PaaS HTTP adapter. Identity uses the independent v2 identity service.
|
||||
*
|
||||
* Transport receives {method,url,headers,body,timeout} and returns
|
||||
* {status:int,body:string,errno?:int}. It must not log request bodies or credentials.
|
||||
* {status:int,body:string,errno?:int}. HTTPS requests can include a local ca_file.
|
||||
* It must not log request bodies or credentials.
|
||||
* No method retries a request. initialize() is an explicit deployment operation:
|
||||
* an initialized JVM must be restarted before changing app/environment.
|
||||
*/
|
||||
final class EsignClient
|
||||
{
|
||||
private const JSON_TYPE = 'application/json; charset=UTF-8';
|
||||
private const MAINLAND_CERT_TYPE = 'INDIVIDUAL_CH_IDCARD';
|
||||
private const WILLINGNESS_PATH = '/v2/identity/willingness/api/individual';
|
||||
private const MAX_PDF_BYTES = 20971520;
|
||||
private const ENVIRONMENTS = [
|
||||
'sandbox' => [
|
||||
@@ -91,6 +130,10 @@ final class EsignClient
|
||||
if (filter_var($timeout, FILTER_VALIDATE_INT) === false || (int) $timeout < 1 || (int) $timeout > 300) {
|
||||
throw new EsignProviderException('configuration', 'TIMEOUT_INVALID');
|
||||
}
|
||||
$caFile = $this->configuration['ca_file'] ?? '';
|
||||
if (!is_string($caFile) || ($caFile !== '' && (!stream_is_local($caFile) || !is_file($caFile) || !is_readable($caFile)))) {
|
||||
throw new EsignProviderException('configuration', 'CA_FILE_INVALID');
|
||||
}
|
||||
$url = (string) ($this->configuration['sdk_url'] ?? '');
|
||||
$parts = parse_url($url);
|
||||
if (!is_array($parts) || !isset($parts['host'])
|
||||
@@ -124,27 +167,58 @@ final class EsignClient
|
||||
/** @return array{flow_id:string,auth_url:string} */
|
||||
public function startIdentity(string $name, string $contextId, ?string $accountId = null): array
|
||||
{
|
||||
$this->requireText($name, 'startIdentity');
|
||||
$this->requireText($contextId, 'startIdentity');
|
||||
$person = ['name' => $name, 'certType' => 'INDIVIDUAL_CH_IDCARD'];
|
||||
return $this->hostedIdentity('startIdentity', ['name' => $name, 'certType' => self::MAINLAND_CERT_TYPE],
|
||||
$contextId, 'PSN_TELECOM_AUTHCODE', $accountId);
|
||||
}
|
||||
|
||||
/** @return array{flow_id:string,auth_url:string} */
|
||||
public function startDoctorIdentity(string $name, string $contextId, string $mobile, ?string $accountId = null): array
|
||||
{
|
||||
$this->requireMobile($mobile, 'startDoctorIdentity');
|
||||
// The provider binds the authorized number only after successful face authentication.
|
||||
return $this->hostedIdentity('startDoctorIdentity', [
|
||||
'name' => $name, 'certType' => self::MAINLAND_CERT_TYPE, 'authMobileNo' => $mobile,
|
||||
], $contextId, 'PSN_FACEAUTH_BYURL_ZHIMA', $accountId);
|
||||
}
|
||||
|
||||
/** @return array{flow_id:string,auth_url:string} */
|
||||
public function startDoctorQuickAuthorization(string $name, string $idNo, string $contextId, string $accountId): array
|
||||
{
|
||||
$this->requireText($idNo, 'startDoctorQuickAuthorization');
|
||||
return $this->hostedIdentity('startDoctorQuickAuthorization', [
|
||||
'name' => $name, 'certType' => self::MAINLAND_CERT_TYPE, 'certNo' => $idNo,
|
||||
], $contextId, 'PSN_FACEAUTH_BYURL_ZHIMA', $accountId, 'PUREVERIFY');
|
||||
}
|
||||
|
||||
/** @return array{flow_id:string,auth_url:string} */
|
||||
private function hostedIdentity(
|
||||
string $operation, array $person, string $contextId, string $authType, ?string $accountId, string $usageType = 'CERTAPPLY'
|
||||
): array {
|
||||
$this->requireText($person['name'], $operation);
|
||||
$this->requireText($contextId, $operation);
|
||||
if ($accountId !== null) {
|
||||
$this->requireText($accountId, 'startIdentity');
|
||||
$this->requireText($accountId, $operation);
|
||||
$person['sdkAccountId'] = $accountId;
|
||||
}
|
||||
$response = $this->identityJson('startIdentity', 'POST', '/v2/identity/auth/web/indivAuthUrl', [
|
||||
$uneditable = ['name', 'certType'];
|
||||
if (isset($person['certNo'])) {
|
||||
$uneditable[] = 'certNo';
|
||||
}
|
||||
$response = $this->identityJson($operation, 'POST', '/v2/identity/auth/web/indivAuthUrl', [
|
||||
'indivInfo' => $person,
|
||||
'configParams' => ['indivUneditableInfo' => ['name', 'certType']],
|
||||
'usageType' => $usageType,
|
||||
'authType' => $authType,
|
||||
'availableAuthTypes' => [$authType],
|
||||
'configParams' => ['indivUneditableInfo' => $uneditable],
|
||||
'contextInfo' => ['contextId' => $contextId, 'showResultPage' => true],
|
||||
]);
|
||||
$data = $response['data'] ?? null;
|
||||
if (!is_array($data) || !is_string($data['flowId'] ?? null) || trim($data['flowId']) === '') {
|
||||
throw new EsignProviderException('startIdentity', 'RESPONSE_INVALID');
|
||||
}
|
||||
$data = is_array($response['data'] ?? null) ? $response['data'] : [];
|
||||
$flowId = $this->requiredResponseText($data, 'flowId', $operation);
|
||||
$url = !empty($data['shortLink']) ? $data['shortLink'] : ($data['url'] ?? '');
|
||||
if (!is_string($url) || !$this->isTrustedAuthUrl($url)) {
|
||||
throw new EsignProviderException('startIdentity', 'AUTH_URL_INVALID');
|
||||
throw new EsignProviderException($operation, 'AUTH_URL_INVALID');
|
||||
}
|
||||
return ['flow_id' => $data['flowId'], 'auth_url' => $url];
|
||||
return ['flow_id' => $flowId, 'auth_url' => $url];
|
||||
}
|
||||
|
||||
public function identityDetail(string $flowId): array
|
||||
@@ -159,13 +233,125 @@ final class EsignClient
|
||||
|
||||
public function checkWillingness(string $flowId): void
|
||||
{
|
||||
$this->requireText($flowId, 'checkWillingness');
|
||||
$data = $this->sdkJson('checkWillingness', '/timevale/auth/queryWillingnessValidity', ['willingnessId' => $flowId]);
|
||||
if (($data['status'] ?? null) !== 1
|
||||
|| !is_int($data['remainingTimes'] ?? null) || $data['remainingTimes'] < 1
|
||||
|| !is_int($data['expireAt'] ?? null) || $data['expireAt'] <= ($this->clock)()) {
|
||||
$this->willingnessExpiresAt($flowId);
|
||||
}
|
||||
|
||||
/** Returns the provider's current expiration in Unix milliseconds. */
|
||||
public function willingnessExpiresAt(string $flowId): int
|
||||
{
|
||||
$validity = $this->willingnessValidity($flowId);
|
||||
if ($validity['state'] !== 'valid') {
|
||||
throw new EsignProviderException('checkWillingness', 'WILLINGNESS_INVALID');
|
||||
}
|
||||
return $validity['expires_at'];
|
||||
}
|
||||
|
||||
/** @return array{state:string,expires_at:int,remaining_times:int} Expiration is in Unix milliseconds. */
|
||||
public function willingnessValidity(string $flowId): array
|
||||
{
|
||||
$this->requireText($flowId, 'checkWillingness');
|
||||
$data = $this->sdkJson('checkWillingness', '/timevale/auth/queryWillingnessValidity', ['willingnessId' => $flowId]);
|
||||
$status = $data['status'] ?? null;
|
||||
$expiresAt = $data['expireAt'] ?? null;
|
||||
$remaining = $data['remainingTimes'] ?? null;
|
||||
$state = match (true) {
|
||||
!in_array($status, [0, 1], true), !is_int($expiresAt), $expiresAt <= 0 => 'invalid',
|
||||
$expiresAt <= ($this->clock)() => 'expired',
|
||||
$remaining === 0 => 'exhausted',
|
||||
$status === 1 && is_int($remaining) && $remaining > 0 => 'valid',
|
||||
default => 'invalid',
|
||||
};
|
||||
return [
|
||||
'state' => $state,
|
||||
'expires_at' => $state === 'valid' ? $expiresAt : 0,
|
||||
'remaining_times' => $state === 'valid' ? $remaining : 0,
|
||||
];
|
||||
}
|
||||
|
||||
public function authorizedMobile(string $name, string $idNo): ?string
|
||||
{
|
||||
$this->requireText($name, 'authorizedMobile');
|
||||
$this->requireText($idNo, 'authorizedMobile');
|
||||
$response = $this->identityJson('authorizedMobile', 'POST', self::WILLINGNESS_PATH . '/get-individual-info', [
|
||||
'name' => $name, 'idNo' => $idNo, 'certType' => self::MAINLAND_CERT_TYPE,
|
||||
]);
|
||||
$data = $response['data'] ?? null;
|
||||
if ($data !== null && !is_array($data)) {
|
||||
throw new EsignProviderException('authorizedMobile', 'RESPONSE_INVALID');
|
||||
}
|
||||
$mobile = $data['mobileNo'] ?? null;
|
||||
if ($mobile === null || $mobile === '') {
|
||||
return null;
|
||||
}
|
||||
if (!is_string($mobile) || !preg_match('/^1[3-9][0-9]{9}$/D', $mobile)) {
|
||||
throw new EsignProviderException('authorizedMobile', 'RESPONSE_INVALID');
|
||||
}
|
||||
return $mobile;
|
||||
}
|
||||
|
||||
public function sendWillingnessCode(string $name, string $idNo, string $mobile): string
|
||||
{
|
||||
$this->requireText($name, 'sendWillingnessCode');
|
||||
$this->requireText($idNo, 'sendWillingnessCode');
|
||||
$this->requireMobile($mobile, 'sendWillingnessCode');
|
||||
$response = $this->identityJson('sendWillingnessCode', 'POST', self::WILLINGNESS_PATH . '/send-code', [
|
||||
'mobileNo' => $mobile, 'name' => $name, 'idNo' => $idNo, 'certType' => self::MAINLAND_CERT_TYPE,
|
||||
]);
|
||||
$data = is_array($response['data'] ?? null) ? $response['data'] : [];
|
||||
return $this->requiredResponseText($data, 'flowId', 'sendWillingnessCode');
|
||||
}
|
||||
|
||||
public function verifyWillingnessCode(string $flowId, string $code): void
|
||||
{
|
||||
$this->requireText($flowId, 'verifyWillingnessCode');
|
||||
if (!preg_match('/^[0-9]{6}$/D', $code)) {
|
||||
throw new EsignProviderException('verifyWillingnessCode', 'INPUT_INVALID');
|
||||
}
|
||||
$this->identityJson('verifyWillingnessCode', 'POST',
|
||||
self::WILLINGNESS_PATH . '/' . rawurlencode($flowId) . '/verify-send-code', ['authCode' => $code]);
|
||||
}
|
||||
|
||||
/** @return array{accountId:string,name:string,idNo:string,idNoType:string,accountType:string} */
|
||||
public function signingAccount(string $accountId): array
|
||||
{
|
||||
$this->requireText($accountId, 'signingAccount');
|
||||
$data = $this->sdkJson('signingAccount', '/timevale/account/queryByAccountId', ['accountId' => $accountId]);
|
||||
$returnedId = $this->requiredResponseText($data, 'accountId', 'signingAccount');
|
||||
if ($returnedId !== $accountId) {
|
||||
throw new EsignProviderException('signingAccount', 'RESPONSE_INVALID');
|
||||
}
|
||||
return [
|
||||
'accountId' => $returnedId,
|
||||
'name' => $this->requiredResponseText($data, 'name', 'signingAccount'),
|
||||
'idNo' => $this->requiredResponseText($data, 'idNo', 'signingAccount'),
|
||||
'idNoType' => $this->requiredResponseText($data, 'idNoType', 'signingAccount'),
|
||||
'accountType' => $this->requiredResponseText($data, 'accountType', 'signingAccount'),
|
||||
];
|
||||
}
|
||||
|
||||
/** @return array{startDate:string,endDate:string} */
|
||||
public function certificateValidity(string $accountId): array
|
||||
{
|
||||
$data = $this->latestCertificate($accountId);
|
||||
return [
|
||||
'startDate' => $this->requiredResponseText($data, 'startDate', 'certificateValidity'),
|
||||
'endDate' => $this->requiredResponseText($data, 'endDate', 'certificateValidity'),
|
||||
];
|
||||
}
|
||||
|
||||
private function latestCertificate(string $accountId): array
|
||||
{
|
||||
$this->requireText($accountId, 'certificateValidity');
|
||||
return $this->sdkJson('certificateValidity', '/timevale/user/cert/queryLatestAvailableCert', ['accountId' => $accountId]);
|
||||
}
|
||||
|
||||
public function certificateIdentity(string $accountId): array
|
||||
{
|
||||
$data = $this->latestCertificate($accountId);
|
||||
return [
|
||||
'issuerCN' => $this->requiredResponseText($data, 'issuerCN', 'certificateValidity'),
|
||||
'sn' => $this->requiredResponseText($data, 'sn', 'certificateValidity'),
|
||||
];
|
||||
}
|
||||
|
||||
public function createPerson(string $name, string $idNo, string $flowId): string
|
||||
@@ -194,6 +380,16 @@ final class EsignClient
|
||||
|
||||
/** @return array{sign_service_id:string,pdf:string} */
|
||||
public function signPdf(string $accountId, string $flowId, string $sealData, string $pdfBytes, string $fileName): array
|
||||
{
|
||||
return $this->signAt($accountId, $flowId, $sealData, $pdfBytes, $fileName, 520, 108);
|
||||
}
|
||||
|
||||
public function signReviewPdf(string $accountId, string $flowId, string $sealData, string $pdfBytes, string $fileName): array
|
||||
{
|
||||
return $this->signAt($accountId, $flowId, $sealData, $pdfBytes, $fileName, 520, 63);
|
||||
}
|
||||
|
||||
private function signAt(string $accountId, string $flowId, string $sealData, string $pdfBytes, string $fileName, int $x, int $y): array
|
||||
{
|
||||
foreach ([$accountId, $flowId, $sealData, $fileName] as $value) {
|
||||
$this->requireText($value, 'signPdf');
|
||||
@@ -205,7 +401,7 @@ final class EsignClient
|
||||
$data = $this->sdkMultipart('signPdf', '/timevale/user/sign/personSign', 'personSignParam', [
|
||||
'accountId' => $accountId, 'willingnessId' => $flowId, 'sealData' => $sealData,
|
||||
'signType' => 'Single', 'fileBean' => ['fileName' => $fileName],
|
||||
'posBeans' => [['posPage' => '1', 'posX' => 420, 'posY' => 70, 'width' => 100]],
|
||||
'posBeans' => [['posPage' => '1', 'posX' => $x, 'posY' => $y, 'width' => 48]],
|
||||
], $pdfBytes, true);
|
||||
$serviceId = is_string($data['signServiceId'] ?? null) && trim($data['signServiceId']) !== '' ? $data['signServiceId'] : null;
|
||||
$pdf = is_string($data['stream'] ?? null) ? base64_decode($data['stream'], true) : false;
|
||||
@@ -274,10 +470,15 @@ final class EsignClient
|
||||
private function request(string $operation, string $method, string $url, array $headers, string $body, string $codeKey, bool $signing = false): array
|
||||
{
|
||||
try {
|
||||
$response = ($this->transport)([
|
||||
$request = [
|
||||
'method' => $method, 'url' => $url, 'headers' => $headers, 'body' => $body,
|
||||
'timeout' => (int) ($this->configuration['timeout'] ?? 60),
|
||||
]);
|
||||
];
|
||||
$caFile = $this->configuration['ca_file'] ?? '';
|
||||
if ($caFile !== '' && str_starts_with($url, 'https://')) {
|
||||
$request['ca_file'] = $caFile;
|
||||
}
|
||||
$response = ($this->transport)($request);
|
||||
} catch (Throwable $exception) {
|
||||
// Never attach the original exception: its URL/body may contain identity or secret data.
|
||||
$this->fail($operation, 'TRANSPORT_ERROR', $signing);
|
||||
@@ -302,11 +503,56 @@ final class EsignClient
|
||||
$this->fail($operation, 'RESPONSE_INVALID', $signing);
|
||||
}
|
||||
if ($data[$codeKey] !== 0) {
|
||||
throw new EsignProviderException($operation, 'PROVIDER_' . $data[$codeKey]);
|
||||
$reason = match (true) {
|
||||
$data[$codeKey] === 403 => $this->forbiddenReason($data),
|
||||
in_array($operation, ['startIdentity', 'startDoctorIdentity', 'startDoctorQuickAuthorization'], true) && $data[$codeKey] === 30500121
|
||||
=> $this->identityStartReason($data['message'] ?? $data['msg'] ?? null),
|
||||
default => null,
|
||||
};
|
||||
throw new EsignProviderException($operation, 'PROVIDER_' . $data[$codeKey],
|
||||
$reason);
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
||||
private function forbiddenReason(array $data): ?string
|
||||
{
|
||||
$message = $data['msg'] ?? null;
|
||||
if (!is_string($message)) {
|
||||
return null;
|
||||
}
|
||||
// Translate recognized phrases to fixed codes; do not retain or echo vendor text.
|
||||
if (str_contains($message, '该应用无权调用此接口')) {
|
||||
return EsignProviderException::APPLICATION_ACCESS_DENIED;
|
||||
}
|
||||
foreach (['IP不在白名单', 'IP地址不在白名单', 'IP 不在白名单', 'IP 地址不在白名单',
|
||||
'IP白名单不匹配', 'IP 白名单不匹配', 'IP白名单校验失败', 'IP 白名单校验失败'] as $phrase) {
|
||||
if (str_contains($message, $phrase)) {
|
||||
return EsignProviderException::IP_WHITELIST_MISMATCH;
|
||||
}
|
||||
}
|
||||
if (preg_match('/(?<![A-Za-z0-9_])SignatureDoesNotMatch(?![A-Za-z0-9_])/', $message) === 1) {
|
||||
return EsignProviderException::SIGNATURE_MISMATCH;
|
||||
}
|
||||
// FORBIDDEN alone does not distinguish application permissions from an IP rejection.
|
||||
return null;
|
||||
}
|
||||
|
||||
private function identityStartReason(mixed $message): ?string
|
||||
{
|
||||
if (!is_string($message)) {
|
||||
return null;
|
||||
}
|
||||
// Translate provider detail into fixed hints. Do not return identity data from the supplier.
|
||||
return match (true) {
|
||||
str_contains($message, '姓名') => EsignProviderException::IDENTITY_NAME_REJECTED,
|
||||
str_contains($message, '余额不足') || str_contains($message, '次数不足') => EsignProviderException::IDENTITY_QUOTA_REJECTED,
|
||||
str_contains($message, '认证方式') => EsignProviderException::IDENTITY_METHOD_REJECTED,
|
||||
str_contains($message, '证件') || str_contains($message, '身份证') => EsignProviderException::IDENTITY_DOCUMENT_REJECTED,
|
||||
default => null,
|
||||
};
|
||||
}
|
||||
|
||||
private function fail(string $operation, string $code, bool $signing): void
|
||||
{
|
||||
if ($signing) {
|
||||
@@ -331,6 +577,13 @@ final class EsignClient
|
||||
}
|
||||
}
|
||||
|
||||
private function requireMobile(string $mobile, string $operation): void
|
||||
{
|
||||
if (!preg_match('/^1[3-9][0-9]{9}$/D', $mobile)) {
|
||||
throw new EsignProviderException($operation, 'INPUT_INVALID');
|
||||
}
|
||||
}
|
||||
|
||||
private function requirePdf(string $bytes, string $operation): void
|
||||
{
|
||||
if (!str_starts_with($bytes, '%PDF-') || strlen($bytes) > self::MAX_PDF_BYTES) {
|
||||
@@ -398,6 +651,9 @@ final class EsignClient
|
||||
return strlen($chunk);
|
||||
},
|
||||
]);
|
||||
if (isset($request['ca_file'])) {
|
||||
curl_setopt($handle, CURLOPT_CAINFO, $request['ca_file']);
|
||||
}
|
||||
if ($request['method'] !== 'GET') {
|
||||
curl_setopt($handle, CURLOPT_POSTFIELDS, $request['body']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user