| | |
| | | package com.java110.common.thread; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.core.factory.AuthenticationFactory; |
| | | import com.java110.intf.common.IApplicationKeyInnerServiceSMO; |
| | | import com.java110.dto.machine.ApplicationKeyDto; |
| | | import com.java110.utils.constant.CommonConstant; |
| | |
| | | header.add(CommonConstant.HTTP_USER_ID.toLowerCase(), CommonConstant.ORDER_DEFAULT_USER_ID); |
| | | header.add(CommonConstant.HTTP_TRANSACTION_ID.toLowerCase(), UUID.randomUUID().toString()); |
| | | header.add(CommonConstant.HTTP_REQ_TIME.toLowerCase(), DateUtil.getDefaultFormateTimeString(new Date())); |
| | | header.add(CommonConstant.HTTP_SIGN.toLowerCase(), ""); |
| | | //header.add(CommonConstant.HTTP_SIGN.toLowerCase(), ""); |
| | | AuthenticationFactory.createSign(header,httpMethod,url,param); |
| | | |
| | | HttpEntity<String> httpEntity = new HttpEntity<String>(param, header); |
| | | //logger.debug("请求中心服务信息,{}", httpEntity); |
| | | try { |