mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-03-27 11:43:25 +08:00
1.0正式版
修复beta版未能解决的BUG; 全面修改页面结构,采用面向对象JS开发; 优化进出库管理示例,对资源的应用更加清晰; 完整的SQL初始数据;
This commit is contained in:
16
OpenAuth.Mvc/Content/js/util.js
Normal file
16
OpenAuth.Mvc/Content/js/util.js
Normal file
@@ -0,0 +1,16 @@
|
||||
// ***********************************************************************
|
||||
// Assembly : OpenAuth.Mvc
|
||||
// Author : yubaolee
|
||||
// Created : 04-20-2016
|
||||
//
|
||||
// Last Modified By : yubaolee
|
||||
// Last Modified On : 04-20-2016
|
||||
// Contact : www.cnblogs.com/yubaolee
|
||||
// File: util.js
|
||||
// ***********************************************************************
|
||||
|
||||
|
||||
//获取URL参数
|
||||
function getURLParameter(name) {
|
||||
return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search) || [, ""])[1].replace(/\+/g, '%20')) || null;
|
||||
}
|
||||
Reference in New Issue
Block a user