更新KJD 项目改为SDK模板,增加调试环境

This commit is contained in:
chfei committed 2026-08-26 15:31:36 +08:00
1 parent e1b208ca05
commit 95e995a71c
9 files changed
+809 -2220

No files matched your search

+2 -3
View File
@@ -153,9 +153,7 @@
<Compile Include="AdslHelper.cs" />
<Compile Include="AutoSizeFormClass.cs" />
<Compile Include="Base64Encode.cs" />
<Compile Include="BaseClass.cs">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Compile>
<Compile Include="BaseClass.cs" />
<Compile Include="BaseEncrypt.cs" />
<Compile Include="BaseRegex.cs" />
<Compile Include="BaseWork.cs" />
@@ -172,6 +170,7 @@
<Compile Include="GetProxyHtml.cs" />
<Compile Include="Helper\CommonSimRequest.cs" />
<Compile Include="Helper\DataOpenSSL.cs" />
<Compile Include="Helper\EnvironmentHelper.cs" />
<Compile Include="Helper\FissionDataBaseConfig.cs" />
<Compile Include="Helper\GB18030EncodingProvider.cs" />
<Compile Include="Helper\GlobalConfig.cs" />
+9 -6
View File
@@ -137,10 +137,10 @@ namespace AllBase
public static int TimeOut = 60;
public static int ThreadCount = 3;
public static int MainCatId = 0;
/// <summary>
/// 用户分组
/// </summary>
public static int GroupId = 0;
/// <summary>
/// 用户分组 3主号 4客服 5加盟 8登录 9采购 10加盟 11上货
/// </summary>
public static int GroupId = 0;
public static bool DarenYaoyue = false;
public static bool DyProductCollect = false;
public static bool IsCloudBuyOrder = false;
@@ -321,8 +321,11 @@ namespace AllBase
/// 子账号所属主账号
/// </summary>
public static string ParentUserName { get; set; }
//public static bool IsSa;
public static int SaLevel = 0;
//public static bool IsSa;
/// <summary>
/// 超管等级 0 普通用户 1 超级管理员
/// </summary>
public static int SaLevel = 0;
public static string UserAuthority = "";
public static string ParentAuthority = "";
public static string ForbiddenPage = "";
+72
View File
@@ -0,0 +1,72 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Helper
{
public class EnvironmentHelper
{
private static string _currentEnvironment;
// 获取当前环境
public static string CurrentEnvironment
{
get
{
if (_currentEnvironment == null)
{
_currentEnvironment = DetermineEnvironment();
}
return _currentEnvironment;
}
}
public static bool IsTest => CurrentEnvironment.Equals("Test", StringComparison.OrdinalIgnoreCase);
public static bool IsDevelopment => CurrentEnvironment.Equals("Development", StringComparison.OrdinalIgnoreCase);
public static bool IsProduction => CurrentEnvironment.Equals("Production", StringComparison.OrdinalIgnoreCase);
private static string DetermineEnvironment()
{
#if RELEASE
// Release 构建:只允许生产环境,不允许其他环境
return "Production";
#else
// 1. 检查环境变量
var envVar = Environment.GetEnvironmentVariable("DOTNET_ENVIRONMENT") ??
Environment.GetEnvironmentVariable("ENVIRONMENT");
if (!string.IsNullOrEmpty(envVar))
{
return envVar;
}
// 检查当前机器名
string machineName = Environment.MachineName.ToLower();
if (machineName.Contains("dev") ||
machineName.Contains("test"))
{
return machineName.Contains("TEST") ? "Test" : "Development";
}
// 4. 默认返回 Production
return "Production";
#endif
}
// 获取环境描述
public static string EnvironmentDescription
{
get
{
if (IsTest) return "测试环境";
if (IsDevelopment) return "开发环境";
if (IsProduction) return "生产环境";
return $"未知环境 ({CurrentEnvironment})";
}
}
}
}
+69 -2200
View File
File diff suppressed because it is too large. Load diff
+629
View File
@@ -10,8 +10,637 @@
<ErrorReportUrlHistory />
<FallbackCulture>zh-CN</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
<ActiveDebugProfile>Development</ActiveDebugProfile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
</PropertyGroup>
<!-- ========== 补充 SubType 元数据,让 SDK 风格项目中的窗体/用户控件/组件恢复设计器支持 ========== -->
<ItemGroup>
<Compile Update="BaseForms\BaseTalkForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ChangeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="InitForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\AdminForms\RandomComProductForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductForms\ActivityForms\PDDAddActivityForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductForms\ExprotProductForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\JstBanPlatformForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDDBProdNotesManageFrom.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDDBProdGroupManageFrom.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminOemWithdrawal.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminQualificationImageForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminTransitWarehouseManage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminAccountBalanceForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WxAdminOemManageForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AiTalkForms\WxAiTalkForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXProdNoCheckEditAddressForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXUserCollectAuthProdEditCatesForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXUserCollectAuthProdEditNotesForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDGetChanceProdByImgForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\DouBaoTitleFissionCefForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\GetJuShuitanAuthForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Get1688ProductForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\GetJuShuitanProductSKUListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\GetJuShuitanProdForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\ImgToolForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\PddMobileLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\WebForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\GetAddressForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="VDianForms\VDianShopEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="VDianForms\VDianLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="VDianForms\VDianShopLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="VDianForms\VDianShopListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="VDianForms\VDianUploadProductForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminAccountSelectForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminSetTopUpQrCodeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXSaleAssistantForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminAddressSyncForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXWaybillManageForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\ActivityForms\WXActivity618Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\OrderForms\WXOrderListOptimizeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\OrderForms\WXOrderListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXOrderConsignmentForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXProdClearNoVisit260606Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXProdClearNoVisitForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXUserCollectAuthProdListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXSelectDBProdListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXFinderSquareForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXOemPointsTopUpListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXOemAccountBalanceForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXOemAccountForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXTaxManage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXPDDShopLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXGetTopUpQrCode.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXShopDefaultAddressEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXShopDefaultAddressListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXShopOptimizeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminShopListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminAccountForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminShopAddSubSaForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\AdminForms\WXAdminShopLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXProdSyncForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXProdCouponOrderBoomForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXProdPreSaleForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXDBProdUploadForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ProductForms\WXProductForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXShopMultiLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WxShopStatisticsForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXShopUpdateCookieForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXShopAddEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXShopListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXShopLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXSubAccountListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\WXSubAccountShopEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\ShopForms\UcSubAccount.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="KJDForms\AdminForms\AdminAccountForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\AdminForms\AdminCardCodeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\AdminForms\AdminForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\JITForms\JITForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\JITForms\JitOrderUploadFileForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\JITForms\JitPushOrder.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\JITForms\JitShopActiveForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\AdminForms\AdminProductPriceCheckForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\JoinDeliveryForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\ProductChangePriceForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\PurchasePriceForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\TemuAdsForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\TemuJitForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\TemuJitSubForms\ComplianceForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\TemuJitSubForms\ChangeStockForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\TemuJitSubForms\ReceiveAreaForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\TemuJitSubForms\UcStockEdit.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\DbProductCategorySearch.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\DbProductEditDetailForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\Price\DbPriceEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\Price\DbProductPriceMarkUpForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\AdminForms\AdminShopAddSubSaForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\AdminForms\AdminShopListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\AdminForms\AdminShopLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="BaseForms\BaseForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="BaseForms\BaseMsgForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="BaseForms\BaseGeneralForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\OrderForms\OrderForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\PriceManageForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\ProductForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductForms\SaleStockUpForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\DbProductEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\DbProductListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\DbProductSelectEditNotesForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\DbProductSelectListManageForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\DbProductSelectSetSubSaForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\DbProductUserSelectEditNotesForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\DbProductUserSelectForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductSelectForms\UcPropEdit.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="KJDForms\ProductThirdSelectForms\ProductThirdSelectAddShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductThirdSelectForms\ProductThirdSelectListManageForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductThirdSelectForms\ProductThirdTitleForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ProductThirdSelectForms\ProductThirdUserSelectForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\SalesCenterForms\MarketingActivityForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\SalesCenterForms\SalesCenterForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\SalesCenterForms\UcActivityDiscountCtrl.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\ReturnPackageDetailForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\ShopAddEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\ShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\ShopListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\ShopLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\Statistics\ShopOrderStatisticsDetailForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\Statistics\ShopOrderStatisticsForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\ShopUpdateCookieForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\Statistics\ShopSetPurchasePriceForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\Statistics\ShopWorkStatisticsForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\SubAccountListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\SubAccountShopEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\ShopForms\UcSubAccount.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="KJDForms\SystemForms\SystemForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="KJDForms\SystemForms\SystemRemoveRestrictionsForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductForms\CouponForms\PDDProdActivityToolShouJianLiJianForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductForms\CouponForms\PDDProdCouponForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductForms\CouponForms\PDDProdCouponJingXiForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductForms\CouponForms\PDDProdCouponLingQuanZhongXinForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductForms\CouponForms\PDDProdCouponShangPinLiJianForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductForms\CouponForms\PDDProdActivityToolXianShiXianLiangForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductForms\PDDProductForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductForms\PDDProductUpDownForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDDBProdEditDetailForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDDBProdImgListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDDBProdUploadSelectCacheForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDDBProdUploadForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDDBProdListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDDBProdEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDGetChanceProdForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\PDDThirdProdSelectAddShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\UcAddPrice.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="PDDForms\ProductSelectForms\UcPddSpecEdit.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="PDDForms\ShopForms\PDDShopUpdateFddlCookieForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\DouBaoImgListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Old\CefForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\DouBaoImgCefForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Old\ChangeIPForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Old\IeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Old\JDVerifyForm\CollectVerifyForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Old\MeituMessageDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Old\PinDuoDuoCaptchaForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Old\PinDuoDuoLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Old\ProxyForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Old\TextForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\Old\TokenNewForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="MainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\AdminForms\PDDAdminAccountForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\AdminForms\PDDAdminForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\AdminForms\PDDAdminShopAddSubSaForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\AdminForms\PDDAdminShopListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\AdminForms\PDDAdminShopLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ShopForms\PDDShopAddEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ShopForms\A_PddShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ShopForms\PDDShopListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ShopForms\PDDShopLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ShopForms\PDDShopUpdateCookieForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ShopForms\PDDSubAccountListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ShopForms\PDDSubAccountShopEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PDDForms\ShopForms\UcSubAccount.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="TaobaoLoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\ShowImgForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="ToolForms\UcSkuImgItem.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="ToolForms\UcSkuImgListItem.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="UserComponent\ButtonLc.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserComponent\DataGridViewEx.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserComponent\DataGridViewXEx.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserComponent\UcCheckBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserComponent\UcComboBoxBase.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserComponent\UcComboBoxMutiSelect .cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserComponent\UcGroupBoxEx.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserComponent\UcTabControl.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserComponent\UcTabControlMetro.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserComponent\UcTreeView.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserControls\ButtonEx.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="UserControls\StatusBarUserControl.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="UserControls\UcSplitPage.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="UserForm\LoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="UserForm\RegeditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="UserForm\ResetPasswordForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="UserForm\SupportQrCodeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\TalkForms\OtherBuyerOrderListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\TalkForms\TalkAutoReplyConfigForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\TalkForms\TalkMessageForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\TalkForms\WxTalkForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="WXForms\TalkForms\PDDBuyerOrderListForm.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
</Project>
+1 -1
View File
@@ -19,7 +19,7 @@ namespace TemuKJD.Properties {
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "18.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
+22
View File
@@ -0,0 +1,22 @@
{
"profiles": {
"Production": {
"commandName": "Project",
"environmentVariables": {
"ENVIRONMENT": "Production"
}
},
"Development": {
"commandName": "Project",
"environmentVariables": {
"ENVIRONMENT": "Development"
}
},
"Test": {
"commandName": "Project",
"environmentVariables": {
"ENVIRONMENT": "Test"
}
}
}
}
+5 -2
View File
@@ -1,7 +1,7 @@
using AllBase;
using AllBase.Helper;
using CefSharp;
using CefSharp.WinForms;
using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.Diagnostics;
@@ -12,6 +12,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.UserForm
@@ -65,13 +66,15 @@ namespace TemuKJD.UserForm
//pnlShowRemember.Visible = false;
rbtPrd.Checked = true;
}
grpEnvironmentChoice.Visible = true;
rbtDev.Checked = EnvironmentHelper.IsDevelopment;
#else
grpEnvironmentChoice.Visible = false;
//pnlShowRemember.Visible = false;
rbtPrd.Checked = true;
#endif
if (BaseClass.Ico != null)
if (BaseClass.Ico != null)
Icon = BaseClass.Ico;
Text = "登录 " + BaseClass.ToolName;
-8
View File
@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CefSharp.Common" version="138.0.340" targetFramework="net462" />
<package id="CefSharp.WinForms" version="138.0.340" targetFramework="net462" />
<package id="chromiumembeddedframework.runtime.win-x64" version="138.0.34" targetFramework="net462" />
<package id="chromiumembeddedframework.runtime.win-x86" version="138.0.34" targetFramework="net462" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net462" />
</packages>