Administrator
2023-04-19 eeb08a586132f489c10e12551c6479b13c9def5e
提交 | 用户 | 时间
58d006 1 window.I = {}
A 2 var basic=getpath();
3 jQuery(document).ready(function($) {
4     $('#reg').click(function(){
5         if(window.op==1)
6             return;
7         window.op=1;
8         var key=$('#key').val();
9         jQuery.post(basic+'/admin/webinfo/reg.htm?tttidt='+Math.random(), {key: key}, function(data, textStatus, xhr) {
10           //optional stuff to do after success
11           window.op=0;
12           if(data.code==0)
13           {
14               alert('注册成功,起始时间:'+data.stime+";截止时间:"+data.etime+";");
15               window.location.href=basic+"/login/login.jsf";
16           }else{
17               alert(data.errmsg);
18           }
19         });
20         
21     });
22 });