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;
///
/// 当前版本号
///
public static int versionCode = 2;
public static string versionName = "1.0.1";
//接口地址
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";
///
/// 数据存放目录
///
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\\";
}
}