diff --git a/HKCardIN/Helper/DataBus.cs b/HKCardIN/Helper/DataBus.cs index 5e2ac57..486bdaf 100644 --- a/HKCardIN/Helper/DataBus.cs +++ b/HKCardIN/Helper/DataBus.cs @@ -26,5 +26,9 @@ namespace HKCardIN.Helper /// 推送充值到服务器 /// public static string PushMoneyToServer = DataBus.SaasRoute + "api/member-helper/memberconsumptionorrecharge"; + /// + /// 根据会员手机获取卡号 + /// + public static string GetCardNoByPhone = DataBus.SaasRoute + "api/"; } } diff --git a/HKCardIN/Logic/BaseLogic.cs b/HKCardIN/Logic/BaseLogic.cs index 908828c..e173655 100644 --- a/HKCardIN/Logic/BaseLogic.cs +++ b/HKCardIN/Logic/BaseLogic.cs @@ -41,5 +41,17 @@ namespace HKCardIN.Logic }).Build().RunStringFirst(); return bool.Parse(data.ToModel()["data"].ToString()); } + /// + /// 根据会员手机获取卡号 + /// + /// + /// + public string GetCardNoByPhone(string Phone) + { + var data = IHttpMultiClient.HttpMulti.AddNode(t => { + t.NodePath = ApiRoute.GetCardNoByPhone; + }).Build().RunStringFirst(); + return data; + } } }