作者 金洪杰

签名

... ... @@ -383,6 +383,7 @@ class Ajax extends TeacherBase
$log['memo'] = $opinion;
Db::table("fa_register_log")->insert($log);
$open_id = Db::table('fa_user')->where('id',$detail['user_id'])->value('open_id');
if ($open_id){
$config = Config::get('officialAccount');
$app = Factory::officialAccount($config);
$app->template_message->send([
... ... @@ -398,6 +399,8 @@ class Ajax extends TeacherBase
'remark' => array('value' => '【您报名参加的' . $detail['project_name'] . '】被' . $msg, 'color' => ''),
),
]);
}
$this->success('操作成功',$file_url);
}
... ...