Browse Source

【token】

feature/subCheck
李鹏飞 5 years ago
parent
commit
3aaacf7b29
  1. 6
      epdc-commons-tools/pom.xml
  2. 21
      epdc-commons-tools/src/main/java/com/elink/esua/epdc/commons/tools/security/epmet/EpmetUtils.java

6
epdc-commons-tools/pom.xml

@ -120,12 +120,6 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.esua.epdc.shibei</groupId>
<artifactId>epdc-auth</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>

21
epdc-commons-tools/src/main/java/com/elink/esua/epdc/commons/tools/security/epmet/EpmetUtils.java

@ -4,17 +4,32 @@ import cn.hutool.http.HttpRequest;
import cn.hutool.http.HttpResponse;
import com.elink.esua.epdc.commons.tools.security.jwt.JwtUtils;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.HashMap;
import java.util.Map;
@Data
@Component
@ConfigurationProperties(prefix = "epmet")
public class EpmetUtils {
// 应用id
/**
* 应用id
*/
public static String appId = "dbfad3110c124c89948d16e8b06a8888";
// 客户id
/**
* 客户id
*/
private static String customerId = "b09527201c4409e19d1dbc5e3c3429a1";
// 秘钥
/**
* 秘钥
*/
private static String secret = "0f7e983b017ac180b0da1877abe11bab22ab6288580e64d39b5e415dbb0fcc8f";
/**
* 地址
*/
private static String commonUrl = "";
/**

Loading…
Cancel
Save