|
@@ -20,6 +20,7 @@ use think\Log; |
|
@@ -20,6 +20,7 @@ use think\Log; |
20
|
use think\Request;
|
20
|
use think\Request;
|
21
|
|
21
|
|
22
|
|
22
|
|
|
|
23
|
+
|
23
|
class IndexController extends HomeBaseController
|
24
|
class IndexController extends HomeBaseController
|
24
|
{
|
25
|
{
|
25
|
|
26
|
|
|
@@ -363,6 +364,11 @@ class IndexController extends HomeBaseController |
|
@@ -363,6 +364,11 @@ class IndexController extends HomeBaseController |
363
|
|
364
|
|
364
|
public function inquiry(){
|
365
|
public function inquiry(){
|
365
|
$Hospital= new HospitalModel();
|
366
|
$Hospital= new HospitalModel();
|
|
|
367
|
+ $config=config('wechat_config');
|
|
|
368
|
+ $Wechat=new Application($config);
|
|
|
369
|
+ $js = $Wechat->js;
|
|
|
370
|
+ $config=$js->config(array('onMenuShareQQ', 'onMenuShareWeibo'), true);
|
|
|
371
|
+ dump($config);
|
366
|
$platment=$Hospital->getPaltform()->toArray();
|
372
|
$platment=$Hospital->getPaltform()->toArray();
|
367
|
$hospital=$Hospital->getHospital()->toArray();
|
373
|
$hospital=$Hospital->getHospital()->toArray();
|
368
|
$this->assign('hospital',$hospital);
|
374
|
$this->assign('hospital',$hospital);
|