作者 sgj
1 个管道 的构建 通过 耗费 0 秒

转诊诊增加积分

... ... @@ -668,6 +668,7 @@ class IndexController extends WeChatBaseController
$this->assign('sdk',$sdk);
$platment=$Hospital->getPaltform()->toArray();
$hospital=$Hospital->getHospital()->toArray();
$this->assign(cmf_get_option('site_info'));
$this->assign('hospital',$hospital);
$this->assign('platment',$platment);
$this->assign('sdk',$sdk);
... ... @@ -705,7 +706,8 @@ class IndexController extends WeChatBaseController
$insert['delete_time']=0;
$model=new TransferModel();
$model->adminAdd($insert);
addScore($insert['user_id'],50,'提交转诊');
$site=cmf_get_option('site_info');
addScore($insert['user_id'],$site['transfer'],'提交转诊');
$this->success('',url('index'),$insert);
}
... ...
... ... @@ -899,7 +899,7 @@
photos:serverIds
},
success:function (res) {
weui.toast(res.msg);
weui.toast("提交成功,增加{$inquiry}积分");
if(res.code==1){
setTimeout(function () {
window.location.href=res.url;
... ...
... ... @@ -1096,7 +1096,7 @@
photos:serverIds
},
success:function (res) {
weui.toast(res.msg);
weui.toast("提交成功,增加{$transfer}积分");
if(res.code==1){
setTimeout(function () {
window.location.href=res.url;
... ...