Exemplo n.º 1
0
 /// <summary>
 /// 加入或移出黑名单
 /// </summary>
 /// <param name="actionType">1 or 2</param>
 /// <param name="bid">block_uid</param>
 /// <returns></returns>
 //加入黑名单 actionType: 1
 //移出黑名单 actionType: 2
 public static async Task <bool> Block(int actionType, string bid)
 => (await BcyJson.Block(actionType, bid)).Length > BcyJson.MinValidJsonLen;