|
@@ -668,6 +668,7 @@ class IndexController extends WeChatBaseController |
|
@@ -668,6 +668,7 @@ class IndexController extends WeChatBaseController |
668
|
$this->assign('sdk',$sdk);
|
668
|
$this->assign('sdk',$sdk);
|
669
|
$platment=$Hospital->getPaltform()->toArray();
|
669
|
$platment=$Hospital->getPaltform()->toArray();
|
670
|
$hospital=$Hospital->getHospital()->toArray();
|
670
|
$hospital=$Hospital->getHospital()->toArray();
|
|
|
671
|
+ $this->assign(cmf_get_option('site_info'));
|
671
|
$this->assign('hospital',$hospital);
|
672
|
$this->assign('hospital',$hospital);
|
672
|
$this->assign('platment',$platment);
|
673
|
$this->assign('platment',$platment);
|
673
|
$this->assign('sdk',$sdk);
|
674
|
$this->assign('sdk',$sdk);
|
|
@@ -705,7 +706,8 @@ class IndexController extends WeChatBaseController |
|
@@ -705,7 +706,8 @@ class IndexController extends WeChatBaseController |
705
|
$insert['delete_time']=0;
|
706
|
$insert['delete_time']=0;
|
706
|
$model=new TransferModel();
|
707
|
$model=new TransferModel();
|
707
|
$model->adminAdd($insert);
|
708
|
$model->adminAdd($insert);
|
708
|
- addScore($insert['user_id'],50,'提交转诊');
|
709
|
+ $site=cmf_get_option('site_info');
|
|
|
710
|
+ addScore($insert['user_id'],$site['transfer'],'提交转诊');
|
709
|
$this->success('',url('index'),$insert);
|
711
|
$this->success('',url('index'),$insert);
|
710
|
}
|
712
|
}
|
711
|
|
713
|
|