Skip to content

Commit

Permalink
版本标识
Browse files Browse the repository at this point in the history
  • Loading branch information
hechenqingyuan committed May 19, 2016
1 parent ee5cb73 commit 3595d10
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 16 deletions.
13 changes: 13 additions & 0 deletions Git.Storage.Provider/DataFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
* 2013-08-19 10:22:44 情缘
*********************************************************************************/

using Git.Framework.Resource;
using Git.Framework.DataTypes;
using Git.Framework.DataTypes.ExtensionMethods;
using Git.Storage.DataAccess.Bad;
using Git.Storage.DataAccess.Base;
using Git.Storage.DataAccess.Check;
Expand Down Expand Up @@ -43,6 +46,16 @@ namespace Git.Storage.Provider
public partial class DataFactory
{

public DataFactory()
{
string v1 = ResourceManager.GetSettingEntity("Sign").Value;
int index=v1.LastIndex("TaSJ6cBqg");
if (index != 65)
{
throw new Exception("");
}
}

/************************************ Procedure 命名空间 *************************************/

public IProc_SwiftNum Proc_SwiftNum { get { return new Proc_SwiftNumDataAccess(); } }
Expand Down
Binary file modified Git.Storage.Web.v12.suo
Binary file not shown.
6 changes: 6 additions & 0 deletions Git.Storage.Web/Configs/Setting/setting.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,10 @@
<setting key="InOrder_Template" value="InOrderPrint"></setting>
<!--出库单打印模板编号-->
<setting key="OutOrder_Template" value="OutOrderPrint"></setting>

<!--Sign-->
<setting key="Sign" value="HWTNtSuSIoyjhyIfqMo9vmfOFxS0b6nhwHObhfQ271yTmgW5Ck8+de9TkG2DQbms/TaSJ6cBqgTLIxxFvpxcE22ncRzI3KRxUvkcHGGwqO1/OHMK1efRAbOAaJ1sIvbJkQTzGYskBI/2HjIlQ2dftauXelQGZI7sNQcOt1CVMssuw/csceHSTz/uZVonogZS"></setting>
<!--loginsign-->
<setting key="loginsign" value="HWTNtSuSIoyCtYYexHgBeu5uCn3RypUSICN/A92RwoQZIW1qaZ7IZ0LZi/Iybt1HMz95DOzigl07Dcd7N3biKB1638TwbAIII0zXk9z3ITtT0sC9rWK5WA=="></setting>

</Settings>
5 changes: 5 additions & 0 deletions Git.Storage.Web/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using Git.Storage.Provider.Base;
using Git.Storage.Web.Lib.Filter;
using System.Net.Http;
using Git.Framework.Resource;

namespace Git.Storage.Web.Controllers
{
Expand All @@ -21,6 +22,10 @@ public ActionResult Index()
{
string url = WebUtil.GetQueryStringValue<string>("returnurl", string.Empty);
ViewBag.ReferrerUrl = url;

string sign = Git.Framework.Encrypt.Encrypt.TripleDESDecrypting(ResourceManager.GetSettingEntity("loginsign").Value);
ViewBag.LoginSign = sign;

return View();
}

Expand Down
13 changes: 0 additions & 13 deletions Git.Storage.Web/Git.Storage.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,6 @@
<Compile Include="Areas\Move\Controllers\ProductController.cs" />
<Compile Include="Areas\Move\Controllers\ProductManagerAjaxController.cs" />
<Compile Include="Areas\Move\MoveAreaRegistration.cs" />
<Compile Include="Areas\Order\Controllers\OrderAjaxController.cs" />
<Compile Include="Areas\Order\Controllers\OrderManageAjaxController.cs" />
<Compile Include="Areas\Order\Controllers\OrderManageController.cs" />
<Compile Include="Areas\Order\OrderAreaRegistration.cs" />
<Compile Include="Areas\OutStorage\Controllers\ProductAjaxController.cs" />
<Compile Include="Areas\OutStorage\Controllers\ProductController.cs" />
<Compile Include="Areas\OutStorage\Controllers\ProductManagerAjaxController.cs" />
Expand Down Expand Up @@ -300,7 +296,6 @@
<Content Include="Theme\customer\InStorage\Git.Storage.ProductInOrder.js" />
<Content Include="Theme\customer\jquery.jUploader-1.01.min.js" />
<Content Include="Theme\customer\Move\Git.Storage.MoveOrder.js" />
<Content Include="Theme\customer\OrderManage\Git.Storage.OrderManage.js" />
<Content Include="Theme\customer\OutStorage\Git.Storage.ProductOutOrder.js" />
<Content Include="Theme\customer\Product\Git.Storage.Goods.js" />
<Content Include="Theme\customer\Report\Git.Storage.BadReport.js" />
Expand Down Expand Up @@ -2000,14 +1995,6 @@
<Content Include="Areas\Storage\Views\Measure\AddMeasure.cshtml" />
<Content Include="Areas\Storage\Views\Measure\Rel.cshtml" />
<Content Include="Areas\Report\Views\Report\InventoryReport.cshtml" />
<Content Include="Areas\Order\Views\Web.config" />
<Content Include="Areas\Order\Views\OrderManage\Index.cshtml" />
<Content Include="Areas\Order\Views\OrderManage\Add.cshtml" />
<Content Include="Areas\Order\Views\OrderManage\AddProduct.cshtml" />
<Content Include="Areas\Order\Views\OrderManage\Detail.cshtml" />
<Content Include="Areas\Order\Views\OrderManage\Edit.cshtml" />
<Content Include="Areas\Order\Views\OrderManage\ImportFileList.cshtml" />
<Content Include="Areas\Order\Views\OrderManage\EditImportFile.cshtml" />
<Content Include="Areas\OutStorage\Views\Product\OrderDetail.cshtml" />
<Content Include="Areas\OutStorage\Views\Product\Print.cshtml" />
<Content Include="Areas\Product\Views\Goods\Dialog.cshtml" />
Expand Down
3 changes: 3 additions & 0 deletions Git.Storage.Web/Global.asax.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ protected void Application_Start()
//初始化规则
SequenceProvider sequenceProvider = new SequenceProvider();
sequenceProvider.Init();

string vlaue = Git.Framework.Encrypt.Encrypt.TripleDESEncrypting("技术支持QQ群:142050808&nbsp;&nbsp;88718955 版权声明: 不得用于任何商业用途,违法必究");

}


Expand Down
3 changes: 3 additions & 0 deletions Git.Storage.Web/Lib/MasterPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ private void SetVersion()
{
string version = Git.Framework.Cache.CacheHelper.Get<string>(Git.Storage.Provider.CacheKey.CACHE_SYS_VERSION);
ViewBag.DebugVersion = version;

string sign = Git.Framework.Encrypt.Encrypt.TripleDESDecrypting(ResourceManager.GetSettingEntity("Sign").Value);
ViewBag.Sign = sign;
}
}
}
2 changes: 1 addition & 1 deletion Git.Storage.Web/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</form>

</div>
<div class="footer"><a>技术支持QQ群:142050808</a></div>
<div class="footer"><a>@Html.Raw(ViewBag.LoginSign)</a></div>
</div>
</div>
<input type="hidden" id="hdUrl" value="@ViewBag.ReferrerUrl" />
Expand Down
7 changes: 5 additions & 2 deletions Git.Storage.Web/Views/Shared/_Foot.cshtml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<div id="footer">
版本:@ViewBag.DebugVersion&nbsp;&nbsp;
技术支持:15800466429&nbsp;&nbsp;
@*技术支持:15800466429&nbsp;&nbsp;
QQ:821865130&nbsp;&nbsp;
QQ群:142050808
QQ群:142050808&nbsp;&nbsp;88718955&nbsp;&nbsp;
版权声明: 不得用于任何商业用途,违法必究*@

@Html.Raw(ViewBag.Sign)
<div class="span pull-right">
<span class="go-top"><i class="icon-arrow-up"></i></span>
</div>
Expand Down

0 comments on commit 3595d10

Please sign in to comment.