作者 sgj

注册取消平台设置

... ... @@ -43,11 +43,13 @@ class IndexController extends WeChatBaseController
$this->error('已经注册过相关信息!','/');
}
$Hospital = new HospitalModel();
$hospital = $Hospital->getHospital();
$platform = $Hospital->getPlatment()->toArray();
$Job = new JobModel();
$jobs = $Job->getJob()->toArray();
$this->assign('jobs', $jobs);
$this->assign('platform', $platform);
$this->assign('hospital', $hospital);
return $this->fetch();
}
... ...
... ... @@ -33,7 +33,15 @@
$('.search').click(function (res) {
console.log(res);
$.ajax({
url:'{:url(index)}',
type:'POST',
data:{
},
success:function (res) {
console.log(res)
}
})
// window.location.href="{:url('portal/serarch')}"
})
})
... ...