Browse Source

根据会员手机获取卡号

Lishi
xxe 2 years ago
parent
commit
fc6389e857
2 changed files with 16 additions and 0 deletions
  1. +4
    -0
      HKCardIN/Helper/DataBus.cs
  2. +12
    -0
      HKCardIN/Logic/BaseLogic.cs

+ 4
- 0
HKCardIN/Helper/DataBus.cs View File

@@ -26,5 +26,9 @@ namespace HKCardIN.Helper
/// 推送充值到服务器
/// </summary>
public static string PushMoneyToServer = DataBus.SaasRoute + "api/member-helper/memberconsumptionorrecharge";
/// <summary>
/// 根据会员手机获取卡号
/// </summary>
public static string GetCardNoByPhone = DataBus.SaasRoute + "api/";
}
}

+ 12
- 0
HKCardIN/Logic/BaseLogic.cs View File

@@ -41,5 +41,17 @@ namespace HKCardIN.Logic
}).Build().RunStringFirst();
return bool.Parse(data.ToModel<JObject>()["data"].ToString());
}
/// <summary>
/// 根据会员手机获取卡号
/// </summary>
/// <param name="Phone"></param>
/// <returns></returns>
public string GetCardNoByPhone(string Phone)
{
var data = IHttpMultiClient.HttpMulti.AddNode(t => {
t.NodePath = ApiRoute.GetCardNoByPhone;
}).Build().RunStringFirst();
return data;
}
}
}

Loading…
Cancel
Save