/// <summary> /// 兑换码是否存在 /// </summary> /// <param name="code">兑换码</param> /// <returns></returns> private async Task <object> CheckVoucher(string code) { bool b = await _voucherService.ExistAsync(code); return(Json(b)); }