Class YiXintongUtils


  • public class YiXintongUtils
    extends Object

    类名: YiXintongUtils

    说明:联通一信通工具类

    Author:
    moat
    • Constructor Detail

      • YiXintongUtils

        public YiXintongUtils()
    • Method Detail

      • postForm

        public static String postForm​(String url,
                                      Map<String,​Object> forms)
        发送post form请求
        Parameters:
        url - 请求地址
        forms - 表单参数
        Returns:
        返回体
      • postForm

        public static String postForm​(String url,
                                      Map<String,​String> headers,
                                      Map<String,​Object> forms,
                                      String charset)
        发送post form请求
        Parameters:
        url - 请求地址
        headers - 请求头
        forms - 表单参数
        charset - 字符集编码
        Returns:
        返回体