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