104 lines
2.6 KiB
PHP
Raw Normal View History

2025-08-01 11:39:06 +08:00
<?php
return [
1 => [
'name' => 'secretid',
'title' => 'SecretId',
'type' => 'string',
'content' => [],
'value' => '',
'rule' => 'required',
'msg' => '',
'tip' => '请前往腾讯控制台 > 访问管理 > API密钥',
'ok' => '',
'extend' => '',
],
[
'name' => 'secretkey',
'title' => 'SecretKey',
'type' => 'string',
'content' => [],
'value' => '',
'rule' => 'required',
'msg' => '',
'tip' => '请前往腾讯控制台 > 访问管理 > API密钥',
'ok' => '',
'extend' => '',
],
[
'name' => 'endpoint',
'title' => '身份验证接口',
'type' => 'string',
'content' => [],
'value' => 'faceid.tencentcloudapi.com',
'rule' => 'required',
'msg' => '',
'tip' => '身份验证接口',
'ok' => '',
'extend' => '',
],
[
'name' => 'endpoint_ocr',
'title' => 'ocr识别接口',
'type' => 'string',
'content' => [],
'value' => 'ocr.tencentcloudapi.com',
'rule' => 'required',
'msg' => '',
'tip' => '身份验证接口',
'ok' => '',
'extend' => '',
],
[
'name' => 'region',
'title' => '地域名称',
'type' => 'string',
'content' => [],
'value' => 'ap-guangzhou',
'rule' => 'required',
'msg' => '',
'tip' => '请输入地域简称,请注意使用英文',
'ok' => '',
'extend' => '',
],
[
'name' => 'isapi',
'title' => '前台是否通过API审核',
'type' => 'radio',
'content' => [
1 => '是',
0 => '否',
],
'value' => '1',
'rule' => 'required',
'msg' => '',
'tip' => '前台是否通过API审核',
'ok' => '',
'extend' => '',
],
[
'name' => 'replay',
'title' => '限制单日api审核次数',
'type' => 'string',
'content' => [],
'value' => '10',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
],
[
'name' => '__tips__',
'title' => '温馨提示',
'type' => 'array',
'content' => [],
'value' => '请在腾讯云管理中心获取SecretId与SecretKey,其他选项默认即可',
'rule' => '',
'msg' => '',
'tip' => '身份证验证参数配置',
'ok' => '',
'extend' => '',
],
];