|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace XHWK.WKTool.Config
- {
- internal class ZConfig
- {
- public static bool isDebug = true;
-
- /// <summary>
- /// 当前版本号
- /// </summary>
- public static int versionCode = 3;
-
- public static string versionName = "1.0.2";
-
- //接口地址
- public static string apiUrl = isDebug ? "http://schoolapitest.xhkjedu.com" : "http://schoolapi.xhkjedu.com";
-
- //图片地址
- public static string uploadUrl = isDebug ? "http://schoolfiletest.xhkjedu.com/" : "http://schoolfile.xhkjedu.com/";
-
- public static string showImageUrl = isDebug ? "http://schoolfiletest.xhkjedu.com/static/" : "http://schoolfile.xhkjedu.com/static/";
-
- public static string secretKey = "nanhuakaizhangjianwangni";
- public static string fileStorageAddress = "";
-
- //认证接口地址
- public static string certapiUrl = isDebug ? "http://certapitest.xhkjedu.com" : "http://certapi.xhkjedu.com";
-
- /// <summary>
- /// 数据存放目录
- /// </summary>
- public static string dataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\Signature\\";
-
- public static string basePath = AppDomain.CurrentDomain.BaseDirectory;
-
- //缓存图片地址
- public static string tempPath = basePath + "temp\\";
-
- public static string nginxHtml = $"{basePath}nginx\\html\\";
-
-
- public static string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
-
- public static string tongPingBasePath = $"{nginxHtml}tongping\\";
- }
- }
|