...
|
...
|
@@ -16,7 +16,18 @@ class ContactsController extends AdminBaseController{ |
|
|
|
|
|
}
|
|
|
|
|
|
//获取联系人信息
|
|
|
public function consel(){
|
|
|
|
|
|
$id = input('post.id');
|
|
|
$data = Db::name('contacts') -> where('id',$id) -> find();
|
|
|
if($data){
|
|
|
return json_encode($data);
|
|
|
}else{
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
}
|
...
|
...
|
|