Beispiel #1
0
        /// <summary>
        /// 异步请求GetWoffBase64StringFontFace接口 [Async]
        /// </summary>
        /// <param name="param">请求接口参数</param>
        /// <returns></returns>
        public Task <FontFaceResult> GetWoffBase64StringFontFaceAsync(FontFaceParam param)
        {
            var paramDic = ParamBuilder.GetFontface(param, _config);

            return(CommonGetFontFaceAsync <FontFaceResult>(paramDic, _config.Host + ServiceMethod.WebFont.GetWoffBase64StringFontFace, _config));
        }
Beispiel #2
0
        /// <summary>
        /// 请求GetFontFace接口
        /// </summary>
        /// <param name="param">请求接口参数</param>
        /// <returns></returns>
        public FontFaceResult GetFontFace(FontFaceParam param)
        {
            var paramDic = ParamBuilder.GetFontface(param, _config);

            return(CommonGetFontFace <FontFaceResult>(paramDic, _config.Host + ServiceMethod.WebFont.GetFontface, _config));
        }