diff --git a/app/Controllers/AuthController.php b/app/Controllers/AuthController.php index b1963129..741da1ac 100644 --- a/app/Controllers/AuthController.php +++ b/app/Controllers/AuthController.php @@ -469,7 +469,7 @@ class AuthController extends BaseController $this->logUserIp($user->id, $_SERVER["REMOTE_ADDR"]); // 登陆成功! - return $this->view()->assign('title', '欢迎回来')->assign('message', '正在前往仪表盘')->assign('redirect', '/user')->display('telegram_success.tpl'); + return $this->view()->assign('title', '登录成功')->assign('message', '正在前往仪表盘')->assign('redirect', '/user')->display('telegram_success.tpl'); } // 验证失败 return $this->view()->assign('title', '登陆超时或非法构造信息')->assign('message', '很抱歉带来的不便,请重新试试')->assign('redirect', '/auth/login')->display('telegram_error.tpl'); diff --git a/app/Services/Config.php b/app/Services/Config.php index 8dd59389..0e2f9b7c 100644 --- a/app/Services/Config.php +++ b/app/Services/Config.php @@ -34,7 +34,10 @@ class Config "payment_system" => self::get("payment_system"), "enable_crisp" => self::get("enable_crisp"), "crisp_id" => self::get("crisp_id"), - "enable_prefix"=>self::get("enable_prefix") + "enable_prefix"=>self::get("enable_prefix"), + "admin_contact1"=>self::get("admin_contact1"), + "admin_contact2"=>self::get("admin_contact2"), + "admin_contact3"=>self::get("admin_contact3") ]; } diff --git a/config/.config.php.example b/config/.config.php.example index d3f5d780..a13ccfbf 100644 --- a/config/.config.php.example +++ b/config/.config.php.example @@ -200,6 +200,11 @@ $System_Config['finance_public']='false'; //财务报告是否向Telegram群 //国旗图标显示 $System_Config['enable_prefix']='false'; //启用该项之前务必先仔细阅读教程 +//站长联系方式 +$System_Config['admin_contact1'] = 'QQ:1233456'; //QQ、邮箱、微信仅用于举例 +$System_Config['admin_contact2'] = '邮箱123456@'qq.com; //也可以写电话、tg等其他联系方式 +$System_Config['admin_contact3'] = '微信~123456'; //没有格式要求,想怎么写就怎么写,可留空 + //杂项(一般不需要更改------------------------------------------------------------- $System_Config['authDriver'] = 'cookie'; //不能更改此项 $System_Config['salt'] = ''; // 密码加密用,请留空 diff --git a/public/images/email_nrcy.jpg b/public/images/email_nrcy.jpg new file mode 100644 index 00000000..9d50f95a Binary files /dev/null and b/public/images/email_nrcy.jpg differ diff --git a/resources/views/material/auth/register.tpl b/resources/views/material/auth/register.tpl index 7eeb51dc..419cd9d4 100644 --- a/resources/views/material/auth/register.tpl +++ b/resources/views/material/auth/register.tpl @@ -71,6 +71,7 @@ + 收不到验证码?点击这里 @@ -194,6 +195,24 @@ +
+ diff --git a/resources/views/material/email_nrcy.tpl b/resources/views/material/email_nrcy.tpl new file mode 100644 index 00000000..cd97a404 --- /dev/null +++ b/resources/views/material/email_nrcy.tpl @@ -0,0 +1,7 @@ +