wlzboy
1 天以前 6b29bd596f8b48485d3506bfba4a1e0ea6c7df99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.ruoyi.system.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * 腾讯云OCR配置类
 * 用于配置腾讯云OCR服务的相关参数
 */
@Component
@ConfigurationProperties(prefix = "tencent.ocr")
public class TencentOCRConfig {
 
    /**
     * 腾讯云SecretId
     */
    private String secretId;
 
    /**
     * 腾讯云SecretKey
     */
    private String secretKey;
 
    /**
     * 腾讯云OCR服务端点
     */
    private String endpoint = "ocr.tencentcloudapi.com";
 
    public String getSecretId() {
        return secretId;
    }
 
    public void setSecretId(String secretId) {
        this.secretId = secretId;
    }
 
    public String getSecretKey() {
        return secretKey;
    }
 
    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }
 
    public String getEndpoint() {
        return endpoint;
    }
 
    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }
}