|
|
@@ -1,72 +0,0 @@
|
|
|
-package com.uas.eis.config;
|
|
|
-
|
|
|
-import lombok.Data;
|
|
|
-import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
-
|
|
|
-@Component
|
|
|
-@ConfigurationProperties(prefix = "extral.donlim")
|
|
|
-public class DonlimConfig {
|
|
|
- public String getRoute() {
|
|
|
- return route;
|
|
|
- }
|
|
|
-
|
|
|
- public void setRoute(String route) {
|
|
|
- this.route = route;
|
|
|
- }
|
|
|
-
|
|
|
- public String getAppKey() {
|
|
|
- return appKey;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAppKey(String appKey) {
|
|
|
- this.appKey = appKey;
|
|
|
- }
|
|
|
-
|
|
|
- public String getAppSecret() {
|
|
|
- return appSecret;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAppSecret(String appSecret) {
|
|
|
- this.appSecret = appSecret;
|
|
|
- }
|
|
|
-
|
|
|
- public String getToken() {
|
|
|
- return token;
|
|
|
- }
|
|
|
-
|
|
|
- public void setToken(String token) {
|
|
|
- this.token = token;
|
|
|
- }
|
|
|
-
|
|
|
- public String getTaxnum() {
|
|
|
- return taxnum;
|
|
|
- }
|
|
|
-
|
|
|
- public void setTaxnum(String taxnum) {
|
|
|
- this.taxnum = taxnum;
|
|
|
- }
|
|
|
-
|
|
|
- public boolean isProd() {
|
|
|
- return true;
|
|
|
- }
|
|
|
-
|
|
|
- public void setProd(boolean prod) {
|
|
|
- isProd = prod;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 请求路径
|
|
|
- */
|
|
|
- private String route ;
|
|
|
-
|
|
|
- private String appKey;
|
|
|
-
|
|
|
- private String appSecret;
|
|
|
-
|
|
|
- private String token;
|
|
|
-
|
|
|
- private String taxnum;
|
|
|
-
|
|
|
- private boolean isProd;
|
|
|
-}
|