摘要: 一、Nop.Core.Domain.Customers.PasswordFormat ( enum ),增加一个 “S256_B64”。二、Libraries\Nop.Services\Security\EncryptionService.cs 及其接口增加对应方法 1: #region 2: /// string str:被加密的字符串 3: /// 返回加密后的字符串 4: public virtual string S256_B64Encrypt(string str) 5: { 6: System.Security.Cryptography.SHA256... 阅读全文
posted @ 2012-04-17 18:26 LuckJason 阅读(542) 评论(0) 推荐(0)
摘要: NopCommerce里的计划任务机制。一、Nop.Web.Global.asax.cs 1: protected void Application_Start() 2: { 3: ........ 4: //start scheduled tasks 5: if (databaseInstalled) 6: { 7: TaskManager.Instance.Initialize(); 8: TaskManager.Instance.Start(); 9: } 10: }这里加载你要... 阅读全文
posted @ 2012-04-17 15:25 LuckJason 阅读(720) 评论(0) 推荐(0)