diff --git a/New_College.Api/Controllers/Front/VipController.cs b/New_College.Api/Controllers/Front/VipController.cs
index ec0374b..f4be923 100644
--- a/New_College.Api/Controllers/Front/VipController.cs
+++ b/New_College.Api/Controllers/Front/VipController.cs
@@ -53,6 +53,20 @@ namespace New_College.Api.Controllers.Front
return await v_VipCardInfoServices.BindCardInfo(query);
}
+
+
+ ///
+ /// 开放绑卡
+ ///
+ ///
+ ///
+ [HttpPost]
+ [Authorize]
+ public async Task> OpenBindCardInfo(OpenVipCardRequest query)
+ {
+ return await v_VipCardInfoServices.OpenBindCardInfo(query);
+ }
+
///
/// 获取vip信息 传用户Id
///
diff --git a/New_College.IServices/IV_VipCardInfoServices.cs b/New_College.IServices/IV_VipCardInfoServices.cs
index b51187f..1aa7827 100644
--- a/New_College.IServices/IV_VipCardInfoServices.cs
+++ b/New_College.IServices/IV_VipCardInfoServices.cs
@@ -17,6 +17,9 @@ namespace New_College.IServices
Task> BindCardInfo(VipCardQuery query);
+ Task> OpenBindCardInfo(OpenVipCardRequest query);
+
+
///
/// 获取vip信息
///
diff --git a/New_College.Services/V_VipCardInfoServices.cs b/New_College.Services/V_VipCardInfoServices.cs
index 5b250dd..6a8832c 100644
--- a/New_College.Services/V_VipCardInfoServices.cs
+++ b/New_College.Services/V_VipCardInfoServices.cs
@@ -94,7 +94,7 @@ namespace New_College.Services
///
///
///
- public async Task> OpemBindCardInfo(OpenVipCardRequest query)
+ public async Task> OpenBindCardInfo(OpenVipCardRequest query)
{
var cardinfo = (await _dal.Query(x => x.IsDelete == false && x.Code == query.CardCode && x.Pwd == query.CardPwd)).FirstOrDefault();