This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user