| | |
| | | <!-- 密码验证 --> |
| | | <script type="text/javascript"> |
| | | $(function(){ |
| | | var url = window.location.href; |
| | | var key = GetQueryString(url,"publishShowflag"); |
| | | if(key==1){ |
| | | return ; |
| | | } |
| | | // 发布模式选择 |
| | | if(getEnclocal("customShowFlag") == undefined) { |
| | | setDeclocal("customShowFlag","3"); |
| | |
| | | popupDiv('showPassword'); |
| | | }; |
| | | $("#auth").click(function(){ |
| | | var param = {}; |
| | | param.accesspassword = $("#password").val(); |
| | | param.ver = $("#ver").val(); |
| | | var param = {}; |
| | | param.accesspassword = encryptByDES($("#password").val(),""); |
| | | param.ver = encryptByDES($("#ver").val().toLocaleLowerCase(),""); |
| | | // param.openId = getCookie("openId"); |
| | | // param.formId = getEnclocal("customForm").newFormID; |
| | | if (!param.accesspassword) { |
| | |
| | | $.ajax({ |
| | | type : "POST", |
| | | dataType : "text", |
| | | // headers : {"Content-Type":"application/json"}, |
| | | url : "/publish/auth", |
| | | data : param, |
| | | success : function(data){ |