109 lines
4.0 KiB
C#
109 lines
4.0 KiB
C#
using AyCode.Core.Consts;
|
|
using AyCode.Core.Loggers;
|
|
|
|
namespace FruitBank.Common;
|
|
|
|
public static class FruitBankConstClient
|
|
{
|
|
public static string DefaultLocale = "en-US";
|
|
|
|
public static string BaseUrl = "https://localhost:59579"; //FrutiBank nop
|
|
|
|
#if RELEASE
|
|
// public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop
|
|
#endif
|
|
|
|
//public static string BaseUrl = "http://localhost:5000"; //FrutiBank nop
|
|
//public static string BaseUrl = "http://10.0.2.2:59579"; //FrutiBank (android) nop
|
|
//public static string BaseUrl = "https://localhost:7144"; //HybridApp
|
|
|
|
|
|
public static string DefaultHubName = "fbHub";
|
|
public static string LoggerHubName = "loggerHub";
|
|
|
|
public static long SignalRKeepAliveIntervalSecond = 60;
|
|
public static long SignarlRTimeoutIntervalSecond = 120;
|
|
|
|
public const string PalletDbTableName = "fbPallet";
|
|
public const string FilesDbTableName = "fbFiles";
|
|
public const string PartnerDbTableName = "fbPartner";
|
|
|
|
public const string OrderItemPalletDbTableName = "fbOrderItemPallet";
|
|
|
|
public const string ShippingDbTableName = "fbShipping";
|
|
public const string ShippingItemDbTableName = "fbShippingItem";
|
|
public const string ShippingItemPalletDbTableName = "fbShippingItemPallet";
|
|
public const string ShippingDocumentDbTableName = "fbShippingDocument";
|
|
public const string ShippingDocumentToFilesDbTableName = "fbShippingDocumentToFiles";
|
|
|
|
public const string StockQuantityHistoryExtDbTableName = "fbStockQuantityHistoryExt";
|
|
|
|
|
|
//public static Guid[] DevAdminIds = new Guid[2] { Guid.Parse("dcf451d2-cc4c-4ac2-8c1f-da00041be1fd"), Guid.Parse("4cbaed43-2465-4d99-84f1-c8bc6b7025f7") };
|
|
//public static Guid[] SysAdmins = new Guid[3]
|
|
//{
|
|
// Guid.Parse("dcf451d2-cc4c-4ac2-8c1f-da00041be1fd"),
|
|
// Guid.Parse("4cbaed43-2465-4d99-84f1-c8bc6b7025f7"),
|
|
// Guid.Parse("540271f6-c604-4c16-8160-d5a7cafedf00")
|
|
//};
|
|
//public static Dictionary<string, Guid> SysAccounts = new Dictionary<string, Guid>
|
|
//{
|
|
// { "SystemEmailSender", Guid.Parse("5e13e051-4fd6-4a30-a371-75cc785cfb84")},
|
|
//};
|
|
|
|
public static string WelcomeEmailTemplateName = "WelcomeEmailTemplate";
|
|
public static string NewTransferEmailTemplateName = "NewTransferEmailTemplate";
|
|
public static string TransferModifiedEmailTemplateName = "TramsferModifiedEmailTemplate";
|
|
public static string ForgotPasswordEmailTemplateName = "ForgotPasswordEmailTemplate";
|
|
public static string GeneralEmailTemplateName = "GeneralEmailTemplate";
|
|
|
|
public static List<string> WelcomeEmailParameters = new List<string>()
|
|
{
|
|
"UserName",
|
|
"SettingBaseUrl",
|
|
"UserId",
|
|
"Token"
|
|
};
|
|
|
|
public static List<string> ForgotPasswordEmailParameters = new List<string>()
|
|
{
|
|
//string userName, string settingBaseUrl, string userId, string token
|
|
"UserName",
|
|
"SettingBaseUrl",
|
|
"UserId",
|
|
"Token"
|
|
};
|
|
|
|
public static List<string> NewTransferEmailParameters = new List<string>()
|
|
{
|
|
//string userName, string fromAddress, string toAddress, string appointment,
|
|
//string fullname,string passengerCount, string luggageCount, string settingBaseUrl, string transferId
|
|
"UserName",
|
|
"FromAddress",
|
|
"ToAddress",
|
|
"Appointment",
|
|
"FullName",
|
|
"PassengerCount",
|
|
"LuggageCount",
|
|
"SettingBaseUrl",
|
|
"TransferId"
|
|
};
|
|
|
|
public static List<string> GeneralEmailParameters = new List<string>()
|
|
{
|
|
//string userName, string settingBaseUrl, string userId, string token
|
|
"UserName",
|
|
"MessageBody",
|
|
"SettingBaseUrl",
|
|
"UserId"
|
|
};
|
|
|
|
#if RELEASE
|
|
public static string SystemEmailAddress = "test@touriam.com";
|
|
public static LogLevel DefaultLogLevelClient = LogLevel.Error;
|
|
#else
|
|
public static string SystemEmailAddress = "test@touriam.com";
|
|
public static LogLevel DefaultLogLevelClient = LogLevel.Detail;
|
|
#endif
|
|
}
|