layui.use(['layer','form'],function(){
var form = layui.form;
layer = layui.layer;
$ = layui.jquery;
// 用户名控件获取焦点
$('#account').focus();
});
function login(){
var account = $('#account').val();
var password = $('#password').val();
var code = $('#code').val();
$.post("login",{
account: account,
password: password,
code:code
},function(response){
console.log(response);
},'json');
}