用户第一次登陆初始画页面跳转链接错误

This commit is contained in:
hdm 2022-08-04 09:05:52 +08:00
parent 8122ebd7f5
commit 6f3553dbab

View File

@ -96,7 +96,7 @@ abstract class BaseController
else{
$reg_pwd = Db::name('Admin')->where(['id' => $this->uid])->value('reg_pwd');
if($reg_pwd!==''){
redirect('/api/index/edit_password.html')->send();
redirect('/home/api/edit_password.html')->send();
exit;
}
if (!$this->checkAuth()) {