调整config 一处申明
This commit is contained in:
parent
d3787d37f4
commit
2a6e7f84e5
|
|
@ -42,19 +42,19 @@ export type AliCloudConfig = {
|
||||||
regionId: string;
|
regionId: string;
|
||||||
apiVersion: string;
|
apiVersion: string;
|
||||||
endpoint: string;
|
endpoint: string;
|
||||||
smsEndpoint: string;
|
smsEndpoint?: string;
|
||||||
};
|
};
|
||||||
export type TencentCloudConfig = {
|
export type TencentCloudConfig = {
|
||||||
secretId: string;
|
secretId: string;
|
||||||
secretKey: string;
|
secretKey: string;
|
||||||
region: string;
|
region: string;
|
||||||
endpoint: string;
|
endpoint: string;
|
||||||
smsEndpoint: string;
|
smsEndpoint?: string;
|
||||||
};
|
};
|
||||||
export type CTYunCloudConfig = {
|
export type CTYunCloudConfig = {
|
||||||
accessKey: string;
|
accessKey: string;
|
||||||
securityKey: string;
|
securityKey: string;
|
||||||
smsEndpoint: string;
|
smsEndpoint?: string;
|
||||||
};
|
};
|
||||||
export type AmapCloudConfig = {
|
export type AmapCloudConfig = {
|
||||||
webApiKey: string;
|
webApiKey: string;
|
||||||
|
|
|
||||||
|
|
@ -42,19 +42,19 @@ export type AliCloudConfig = {
|
||||||
regionId: string;
|
regionId: string;
|
||||||
apiVersion: string;
|
apiVersion: string;
|
||||||
endpoint: string;
|
endpoint: string;
|
||||||
smsEndpoint: string;
|
smsEndpoint?: string;
|
||||||
};
|
};
|
||||||
export type TencentCloudConfig = {
|
export type TencentCloudConfig = {
|
||||||
secretId: string;
|
secretId: string;
|
||||||
secretKey: string;
|
secretKey: string;
|
||||||
region: string;
|
region: string;
|
||||||
endpoint: string;
|
endpoint: string;
|
||||||
smsEndpoint: string;
|
smsEndpoint?: string;
|
||||||
};
|
};
|
||||||
export type CTYunCloudConfig = {
|
export type CTYunCloudConfig = {
|
||||||
accessKey: string;
|
accessKey: string;
|
||||||
securityKey: string;
|
securityKey: string;
|
||||||
smsEndpoint: string;
|
smsEndpoint?: string;
|
||||||
};
|
};
|
||||||
export type AmapCloudConfig = {
|
export type AmapCloudConfig = {
|
||||||
webApiKey: string;
|
webApiKey: string;
|
||||||
|
|
|
||||||
|
|
@ -440,6 +440,25 @@ function CTYunAccount(props: {
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
</Form.Item>
|
</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>
|
</Form>
|
||||||
),
|
),
|
||||||
}))
|
}))
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ export type AliCloudConfig = {
|
||||||
regionId: string;
|
regionId: string;
|
||||||
apiVersion: string;
|
apiVersion: string;
|
||||||
endpoint: string;
|
endpoint: string;
|
||||||
smsEndpoint: string;
|
smsEndpoint?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TencentCloudConfig = {
|
export type TencentCloudConfig = {
|
||||||
|
|
@ -57,13 +57,13 @@ export type TencentCloudConfig = {
|
||||||
secretKey: string;
|
secretKey: string;
|
||||||
region: string;
|
region: string;
|
||||||
endpoint: string;
|
endpoint: string;
|
||||||
smsEndpoint: string;
|
smsEndpoint?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CTYunCloudConfig = {
|
export type CTYunCloudConfig = {
|
||||||
accessKey: string;
|
accessKey: string;
|
||||||
securityKey: string;
|
securityKey: string;
|
||||||
smsEndpoint: string;
|
smsEndpoint?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type AmapCloudConfig = {
|
export type AmapCloudConfig = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue