随行付进件通知加入mcc
This commit is contained in:
@@ -7,6 +7,7 @@ import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Djh
|
||||
@@ -276,6 +277,7 @@ public class ParameterConfig {
|
||||
@Value("${parameter.SJ_APPSECRET}")
|
||||
public String SJ_APPSECRET;
|
||||
|
||||
|
||||
/**
|
||||
* 快递相关(快递鸟)
|
||||
*/
|
||||
@@ -283,6 +285,8 @@ public class ParameterConfig {
|
||||
public String USERID;
|
||||
@Value("${express.APIKEY}")
|
||||
public String APIKEY;
|
||||
@Value("${parameter.mcclist.url}")
|
||||
public List<String> url;
|
||||
|
||||
@PostConstruct
|
||||
public void init() {
|
||||
@@ -332,6 +336,7 @@ public class ParameterConfig {
|
||||
ParametersUtil.SJ_APPSECRET = SJ_APPSECRET;
|
||||
ParametersUtil.USERID = USERID;
|
||||
ParametersUtil.APIKEY = APIKEY;
|
||||
ParametersUtil.url = url;
|
||||
|
||||
SxfConfg.init(sxfDomain, publicKey, orgId);
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package cn.pluss.platform.util;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author yuchen
|
||||
@@ -205,5 +206,7 @@ public class ParametersUtil {
|
||||
*/
|
||||
public static String USERID;
|
||||
public static String APIKEY;
|
||||
|
||||
public static List<String> url;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user