This commit is contained in:
wangjinlei
2021-04-08 10:50:40 +08:00
parent e31c67e77c
commit 11da1a782b
3 changed files with 53 additions and 19 deletions

View File

@@ -121,6 +121,21 @@ class User extends Controller {
sendEmail($email, 'Dear ' . $data['name'], 'TMR', $tt,);
return json($inser_data);
}
// public function tttt(){
// echo 'dsss';
// }
//
// public function mytestemail(){
// $journal_info = $this->journal_obj->where('journal_id',22)->find();
// //发送注册成功邮件
// $tt = 'Hello,<br><br>';
// $res = sendEmail('751475802@qq.com', 'Dear ' . $journal_info['title'], 'TMR', $tt,$journal_info['email'],$journal_info['epassword']);
// echo '<pre>';
// var_dump($res);
// echo '</pre>';
// die;
// }
/**
* 获取验证码图片(用户注册)