|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public  int  initHkParamConfig(){ | 
|---|
|  |  |  | if(StringUtils.isBlank(ArtemisConfig.appKey ) | 
|---|
|  |  |  | ||StringUtils.isBlank(ArtemisConfig.host ) | 
|---|
|  |  |  | ||StringUtils.isBlank(ArtemisConfig.appSecret ) | 
|---|
|  |  |  | ){ | 
|---|
|  |  |  | ArtemisConfig.host = systemDictDataBiz.queryByCode(Constants.HK_PARAM, Constants.HK_HOST).getCode(); | 
|---|
|  |  |  | ArtemisConfig.appKey = systemDictDataBiz.queryByCode(Constants.HK_PARAM, Constants.HK_APPKEY).getCode(); | 
|---|
|  |  |  | ArtemisConfig.appSecret = systemDictDataBiz.queryByCode(Constants.HK_PARAM, Constants.HK_APPSECRET).getCode(); | 
|---|
|  |  |  | HKConstants.https = systemDictDataBiz.queryByCode(Constants.HK_PARAM, Constants.HK_HTTPS).getCode(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ArtemisConfig.host = systemDictDataBiz.queryByCode(Constants.HK_PARAM, Constants.HK_HOST).getCode(); | 
|---|
|  |  |  | ArtemisConfig.appKey = systemDictDataBiz.queryByCode(Constants.HK_PARAM, Constants.HK_APPKEY).getCode(); | 
|---|
|  |  |  | ArtemisConfig.appSecret = systemDictDataBiz.queryByCode(Constants.HK_PARAM, Constants.HK_APPSECRET).getCode(); | 
|---|
|  |  |  | HKConstants.https = systemDictDataBiz.queryByCode(Constants.HK_PARAM, Constants.HK_HTTPS).getCode(); | 
|---|
|  |  |  | HKTools.interfaceLogService=interfaceLogService; | 
|---|
|  |  |  | return  0; | 
|---|
|  |  |  | } | 
|---|