You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DataBus.cs 1.1 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
12345678910111213141516171819202122232425262728293031323334
  1. using Newtonsoft.Json.Linq;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.IO;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using XExten.Advance.LinqFramework;
  9. using XExten.Advance.StaticFramework;
  10. namespace HKCardIN.Helper
  11. {
  12. public class DataBus
  13. {
  14. public static bool NetWordState { get; set; } = false;
  15. public static string SaasRoute { get; set; }
  16. public static string LockCode { get; set; }
  17. }
  18. public class ApiRoute
  19. {
  20. /// <summary>
  21. /// 拉取用户和卡信息
  22. /// </summary>
  23. public static string PullUserAndCardInfo = DataBus.SaasRoute + "api/member-helper/membercardinfo";
  24. /// <summary>
  25. /// 推送充值到服务器
  26. /// </summary>
  27. public static string PushMoneyToServer = DataBus.SaasRoute + "api/member-helper/memberconsumptionorrecharge";
  28. /// <summary>
  29. /// 根据会员手机获取卡号
  30. /// </summary>
  31. public static string GetCardNoByPhone = DataBus.SaasRoute + "api/member-helper/membercardinfo";
  32. }
  33. }