mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-13 17:30:18 +08:00
版本更新
This commit is contained in:
@@ -25,7 +25,7 @@ import java.util.Map;
|
||||
* http请求工具
|
||||
* @author: egan
|
||||
* <code>
|
||||
* email egzosn@gmail.com <br/>
|
||||
* email egzosn@gmail.com <br>
|
||||
* date 2017/3/3 21:33
|
||||
* </code>
|
||||
*/
|
||||
@@ -199,13 +199,13 @@ public class HttpRequestTemplate {
|
||||
* @param <T> 响应类型
|
||||
* @return 类型对象
|
||||
* <code>
|
||||
* Map<String, String> uriVariables = new HashMap<String, String>();<br/>
|
||||
* Map<String, String> uriVariables = new HashMap<String, String>();<br>
|
||||
*
|
||||
* uriVariables.put("id", "1");<br/>
|
||||
* uriVariables.put("id", "1");<br>
|
||||
*
|
||||
* uriVariables.put("type", "APP");<br/>
|
||||
* uriVariables.put("type", "APP");<br>
|
||||
*
|
||||
* getForObject("http://egan.in/pay/{id}/f/{type}", String.class, uriVariables)<br/>
|
||||
* getForObject("http://egan.in/pay/{id}/f/{type}", String.class, uriVariables)<br>
|
||||
* </code>
|
||||
*/
|
||||
public <T> T getForObject(String uri, Class<T> responseType, Map<String, ?> uriVariables){
|
||||
|
||||
Reference in New Issue
Block a user