This commit is contained in:
jl
2024-11-27 10:39:18 +08:00
parent 068fe0a148
commit 90ec40a018
8 changed files with 233 additions and 37 deletions

View File

@ -9,6 +9,7 @@ using Epost.Common;
using System.Web.Helpers;
using System.Data;
using System.Configuration;
using System.Web;
namespace Epost.TestToolsWeb.Tests.Controllers
{
@ -19,14 +20,10 @@ namespace Epost.TestToolsWeb.Tests.Controllers
[TestMethod]
public void d()
{
string sku = "211100";
if (sku.Substring(0, 1) == "2" && sku.Substring(1, 1) != "5")
{
if (sku.Length >= 7)
{
sku = sku.Substring(1, 6);
}
}
string ss = "12345678test12345678";
string md= EncryptHelper.EncryptMD5By32(ss);
string b64= EncryptHelper.Base64EnCode(md).ToUpper();
string ddd = HttpUtility.UrlEncode(b64);
}
}
}