星火微课系统客户端
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace XHWK.WKTool.Config
  7. {
  8. internal class ZConfig
  9. {
  10. public static bool isDebug = true;
  11. /// <summary>
  12. /// 当前版本号
  13. /// </summary>
  14. public static int versionCode = 3;
  15. public static string versionName = "1.0.2";
  16. //接口地址
  17. public static string apiUrl = isDebug ? "http://schoolapitest.xhkjedu.com" : "http://schoolapi.xhkjedu.com";
  18. //图片地址
  19. public static string uploadUrl = isDebug ? "http://schoolfiletest.xhkjedu.com/" : "http://schoolfile.xhkjedu.com/";
  20. public static string showImageUrl = isDebug ? "http://schoolfiletest.xhkjedu.com/static/" : "http://schoolfile.xhkjedu.com/static/";
  21. public static string secretKey = "nanhuakaizhangjianwangni";
  22. public static string fileStorageAddress = "";
  23. //认证接口地址
  24. public static string certapiUrl = isDebug ? "http://certapitest.xhkjedu.com" : "http://certapi.xhkjedu.com";
  25. /// <summary>
  26. /// 数据存放目录
  27. /// </summary>
  28. public static string dataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\Signature\\";
  29. public static string basePath = AppDomain.CurrentDomain.BaseDirectory;
  30. //缓存图片地址
  31. public static string tempPath = basePath + "temp\\";
  32. public static string nginxHtml = $"{basePath}nginx\\html\\";
  33. public static string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
  34. public static string tongPingBasePath = $"{nginxHtml}tongping\\";
  35. }
  36. }