import net.sf.json.JSONObject;
public class Talk {
public static String result(String info) {
//接口地址
String requestUrl = "https://www.baidu.com";
Map map = new HashMap();
map.put("access_token", "ACCESS_TOKEN");
String Result2 = HttpUtil.get(requestUrl);
return Result2 ;
}
//测试是否有效
public static void main(String[] args) {
System.out.print(result("nihao"));
}
}
https://api.q.qq.com/api/json/openApiPay/GamePrePay/
https://search.maven.org/artifact/cn.hutool/hutool-all/5.5.7/jar