Commit 317c0545 by Joneq

修改测试环境发送人

parent 4dca706d
Showing with 2 additions and 2 deletions
......@@ -238,8 +238,8 @@ class SystemNoticeLogic
public function sendEmail($sendData)
{
//不是正式的域名统一只发给测试用户
if ($_SERVER['SERVER_NAME'] !='message.ichunt.net'){
$sendData['user'] = ['gy@ichunt.com'];
if ($_SERVER['SERVER_NAME'] !== 'message.ichunt.net'){
$sendData['user'] = ['gy@ichunt.com','lxb@ichunt.com'];
}
Mail::send('emails.default', ["sendData"=>$sendData], function ($m) use($sendData) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment