Пример #1
0
 /// <summary>
 ///     搜索公司时的联想搜索建议
 /// </summary>
 /// <param name="q">搜索的关键字</param>
 /// <param name="count">返回的记录条数,默认为10</param>
 /// <returns></returns>
 public IEnumerable <string> Companies(string q, int count = 10)
 {
     return(Utility.GetStringListFromJSON(api.Companies(q, count)));
 }
Пример #2
0
 /// <summary>
 /// 搜索公司时的联想搜索建议
 /// </summary>
 /// <param name="q">搜索的关键字</param>
 /// <param name="count">返回的记录条数,默认为10</param>
 /// <returns></returns>
 public dynamic Companies(string q, int count = 10)
 {
     return(DynamicJson.Parse(api.Companies(q, count)));
 }