|
|
@ -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 = ""; |
|
|
|
|
|
|
|
/** |
|
|
|