2023-01-13 15:30:20 +08:00
|
|
|
|
using System;
|
|
|
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
|
using Epost.BLL;
|
|
|
|
|
using Epost.Model;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using Epost.DAL.Cache;
|
|
|
|
|
using Epost.Common;
|
|
|
|
|
using System.Web.Helpers;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Configuration;
|
2024-11-27 10:39:18 +08:00
|
|
|
|
using System.Web;
|
2023-01-13 15:30:20 +08:00
|
|
|
|
|
|
|
|
|
namespace Epost.TestToolsWeb.Tests.Controllers
|
|
|
|
|
{
|
|
|
|
|
[TestClass]
|
|
|
|
|
public class UnitTest1
|
|
|
|
|
{
|
|
|
|
|
OrderBLL bll = new OrderBLL();
|
|
|
|
|
[TestMethod]
|
|
|
|
|
public void d()
|
|
|
|
|
{
|
2024-11-27 10:39:18 +08:00
|
|
|
|
string ss = "12345678test12345678";
|
|
|
|
|
string md= EncryptHelper.EncryptMD5By32(ss);
|
|
|
|
|
string b64= EncryptHelper.Base64EnCode(md).ToUpper();
|
|
|
|
|
string ddd = HttpUtility.UrlEncode(b64);
|
2023-01-13 15:30:20 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|