| | |
| | | package com.java110.common.thread; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.core.smo.common.IApplicationKeyInnerServiceSMO; |
| | | import com.java110.intf.common.IApplicationKeyInnerServiceSMO; |
| | | import com.java110.dto.machine.ApplicationKeyDto; |
| | | import com.java110.utils.constant.CommonConstant; |
| | | import com.java110.utils.constant.ServiceConstant; |
| | |
| | | responseEntity = new ResponseEntity<String>(e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR); |
| | | } finally { |
| | | logger.debug("请求地址为,{} 请求中心服务信息,{},中心服务返回信息,{}", url, httpEntity, responseEntity); |
| | | return responseEntity; |
| | | } |
| | | |
| | | return responseEntity; |
| | | } |
| | | |
| | | /** |
| | |
| | | Random random = new Random(); |
| | | String result = ""; |
| | | for (int i = 0; i < 6; i++) { |
| | | result += random.nextInt(10); |
| | | result += (random.nextInt(9) + 1);; |
| | | } |
| | | return result; |
| | | } |