调整config 一处申明
This commit is contained in:
parent
d3787d37f4
commit
2a6e7f84e5
|
|
@ -42,19 +42,19 @@ export type AliCloudConfig = {
|
|||
regionId: string;
|
||||
apiVersion: string;
|
||||
endpoint: string;
|
||||
smsEndpoint: string;
|
||||
smsEndpoint?: string;
|
||||
};
|
||||
export type TencentCloudConfig = {
|
||||
secretId: string;
|
||||
secretKey: string;
|
||||
region: string;
|
||||
endpoint: string;
|
||||
smsEndpoint: string;
|
||||
smsEndpoint?: string;
|
||||
};
|
||||
export type CTYunCloudConfig = {
|
||||
accessKey: string;
|
||||
securityKey: string;
|
||||
smsEndpoint: string;
|
||||
smsEndpoint?: string;
|
||||
};
|
||||
export type AmapCloudConfig = {
|
||||
webApiKey: string;
|
||||
|
|
|
|||
|
|
@ -42,19 +42,19 @@ export type AliCloudConfig = {
|
|||
regionId: string;
|
||||
apiVersion: string;
|
||||
endpoint: string;
|
||||
smsEndpoint: string;
|
||||
smsEndpoint?: string;
|
||||
};
|
||||
export type TencentCloudConfig = {
|
||||
secretId: string;
|
||||
secretKey: string;
|
||||
region: string;
|
||||
endpoint: string;
|
||||
smsEndpoint: string;
|
||||
smsEndpoint?: string;
|
||||
};
|
||||
export type CTYunCloudConfig = {
|
||||
accessKey: string;
|
||||
securityKey: string;
|
||||
smsEndpoint: string;
|
||||
smsEndpoint?: string;
|
||||
};
|
||||
export type AmapCloudConfig = {
|
||||
webApiKey: string;
|
||||
|
|
|
|||
|
|
@ -440,6 +440,25 @@ function CTYunAccount(props: {
|
|||
/>
|
||||
</>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label="短信endpoint"
|
||||
//name="smsEndpoint"
|
||||
tooltip="访问的域名,如:sms-global.ctapi.ctyun.cn"
|
||||
>
|
||||
<>
|
||||
<Input
|
||||
placeholder="请输入短信endpoint"
|
||||
type="text"
|
||||
value={ele.smsEndpoint}
|
||||
onChange={(e) =>
|
||||
setValue(
|
||||
`${idx}.smsEndpoint`,
|
||||
e.target.value
|
||||
)
|
||||
}
|
||||
/>
|
||||
</>
|
||||
</Form.Item>
|
||||
</Form>
|
||||
),
|
||||
}))
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ export type AliCloudConfig = {
|
|||
regionId: string;
|
||||
apiVersion: string;
|
||||
endpoint: string;
|
||||
smsEndpoint: string;
|
||||
smsEndpoint?: string;
|
||||
};
|
||||
|
||||
export type TencentCloudConfig = {
|
||||
|
|
@ -57,13 +57,13 @@ export type TencentCloudConfig = {
|
|||
secretKey: string;
|
||||
region: string;
|
||||
endpoint: string;
|
||||
smsEndpoint: string;
|
||||
smsEndpoint?: string;
|
||||
};
|
||||
|
||||
export type CTYunCloudConfig = {
|
||||
accessKey: string;
|
||||
securityKey: string;
|
||||
smsEndpoint: string;
|
||||
smsEndpoint?: string;
|
||||
};
|
||||
|
||||
export type AmapCloudConfig = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue