Explorar el Código

根据会员手机获取卡号

Lishi
xxe hace 2 años
padre
commit
fc6389e857
Se han modificado 2 ficheros con 16 adiciones y 0 borrados
  1. +4
    -0
      HKCardIN/Helper/DataBus.cs
  2. +12
    -0
      HKCardIN/Logic/BaseLogic.cs

+ 4
- 0
HKCardIN/Helper/DataBus.cs Ver fichero

@@ -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 Ver fichero

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

Cargando…
Cancelar
Guardar