...
|
...
|
@@ -152,9 +152,6 @@ class AdminIndexController extends AdminBaseController |
|
|
$Hospital=new HospitalModel();
|
|
|
$hospitals=$Hospital->getHospital()->toArray();
|
|
|
$platform=$Hospital->getPlatment()->toArray();
|
|
|
dump($user);
|
|
|
dump($hospitals);
|
|
|
dump($platform);
|
|
|
$this->assign('user',$user);
|
|
|
$this->assign('jobs',$jobs);
|
|
|
$this->assign('hospitals',$hospitals);
|
...
|
...
|
@@ -169,10 +166,10 @@ class AdminIndexController extends AdminBaseController |
|
|
*/
|
|
|
public function userInfoPost(){
|
|
|
$map['id']=input('id');
|
|
|
dump($map);
|
|
|
|
|
|
$data=input();
|
|
|
unset($data['id']);
|
|
|
dump($data);
|
|
|
// dump($data);
|
|
|
$result=\db('user')->where($map)->update($data);
|
|
|
if ($result==1){
|
|
|
$this->success('编辑成功!');
|
...
|
...
|
|