Pārlūkot izejas kodu

根据会员手机获取卡号

Lishi
xxe pirms 2 gadiem
vecāks
revīzija
fc6389e857
2 mainītis faili ar 16 papildinājumiem un 0 dzēšanām
  1. +4
    -0
      HKCardIN/Helper/DataBus.cs
  2. +12
    -0
      HKCardIN/Logic/BaseLogic.cs

+ 4
- 0
HKCardIN/Helper/DataBus.cs Parādīt failu

@@ -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 Parādīt failu

@@ -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;
}
}
}

Notiek ielāde…
Atcelt
Saglabāt