...
|
...
|
@@ -20,6 +20,7 @@ use think\Log; |
|
|
use think\Request;
|
|
|
|
|
|
|
|
|
|
|
|
class IndexController extends HomeBaseController
|
|
|
{
|
|
|
|
...
|
...
|
@@ -363,6 +364,11 @@ class IndexController extends HomeBaseController |
|
|
|
|
|
public function inquiry(){
|
|
|
$Hospital= new HospitalModel();
|
|
|
$config=config('wechat_config');
|
|
|
$Wechat=new Application($config);
|
|
|
$js = $Wechat->js;
|
|
|
$config=$js->config(array('onMenuShareQQ', 'onMenuShareWeibo'), true);
|
|
|
dump($config);
|
|
|
$platment=$Hospital->getPaltform()->toArray();
|
|
|
$hospital=$Hospital->getHospital()->toArray();
|
|
|
$this->assign('hospital',$hospital);
|
...
|
...
|
|