...
|
...
|
@@ -120,6 +120,18 @@ class TeamController extends AdminBaseController |
|
|
$this->addTeamLog($teamId,'团队',$action,$info);
|
|
|
}
|
|
|
|
|
|
$openid=db('third_party_user')->where('user_id',$info['user_id'])->value('openid');
|
|
|
$volunteer=db('volunteer')->where('user_id',$info['user_id'])->find();
|
|
|
|
|
|
$date=date('Y-m-d H:i');
|
|
|
$data=[
|
|
|
'phrase1' => ['value' =>"$volunteer[name] $action"], //审核结果
|
|
|
'thing2'=>['value'=>$info['name']], //活动名称
|
|
|
'thing4'=>['value'=>$action], //备注
|
|
|
'date7'=>['value'=>$date] //审核时间
|
|
|
];
|
|
|
$Info=sendSubMessage($data,$openid);
|
|
|
|
|
|
$this->success('操作成功!');
|
|
|
}else{
|
|
|
$this->error('操作失败');
|
...
|
...
|
|