| | |
| | | ZTBaseResponse<ZTUserGetTokenResponse> result = sendHttpRequest( |
| | | ZTConstants.IntegerUrl.USER_UPDATE_URL, |
| | | ZTConstants.IntegerName.USER_UPDATE_NAME, |
| | | param.getToken(), |
| | | param.getUserType(), |
| | | JSONObject.toJSONString(param ), |
| | | null, |
| | | null, |
| | | JSONObject.toJSONString(param), |
| | | new TypeReference<ZTBaseResponse<ZTUserGetTokenResponse>>(){}); |
| | | // if(result!=null){ |
| | | // return result.getData(); |
| | |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | |
| | | public <T> ZTBaseResponse<T> sendHttpRequest(String url,String name,String token,String userType,String param,TypeReference<ZTBaseResponse<T>> typeReference){ |
| | | log.info("【"+name+"】================开始===="+ JSONObject.toJSONString(param)); |