feat(uapbd): 从系统参数中获取环境URL
This commit is contained in:
parent
cfc7feaaae
commit
0733684302
|
@ -7,6 +7,7 @@ import com.sm.misc.BASE64Encoder;
|
||||||
import nc.bs.dao.DAOException;
|
import nc.bs.dao.DAOException;
|
||||||
import nc.bs.logging.Logger;
|
import nc.bs.logging.Logger;
|
||||||
import nc.bs.trade.business.HYSuperDMO;
|
import nc.bs.trade.business.HYSuperDMO;
|
||||||
|
import nc.itf.arap.goldentax.SysParaInitQuery;
|
||||||
import nc.vo.opm.thirdapp.ThirdappVO;
|
import nc.vo.opm.thirdapp.ThirdappVO;
|
||||||
import nc.ws.opm.pub.utils.security.SecurityUtil;
|
import nc.ws.opm.pub.utils.security.SecurityUtil;
|
||||||
import org.apache.commons.httpclient.Header;
|
import org.apache.commons.httpclient.Header;
|
||||||
|
@ -60,6 +61,7 @@ public class BaseOpenApiReq {
|
||||||
if (apiInfo == null) {
|
if (apiInfo == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
BASE_URL_DEV = SysParaInitQuery.getParaString("GLOBLE00000000000000", "GJBURL");
|
||||||
CLIENT_ID = apiInfo.getApp_id();
|
CLIENT_ID = apiInfo.getApp_id();
|
||||||
CLIENT_SECRET = apiInfo.getApp_secret();
|
CLIENT_SECRET = apiInfo.getApp_secret();
|
||||||
PUBLIC_KEY = apiInfo.getPublic_key();
|
PUBLIC_KEY = apiInfo.getPublic_key();
|
||||||
|
|
Loading…
Reference in New Issue