Merge branch 'dev'

master
elf@home 5 years ago
commit 5ec203aa10

@ -159,7 +159,7 @@ class SsgController extends BaseController {
} }
//添加自动登录 //添加自动登录
$userApi = new MemberApi(); $userApi = new MemberApi();
$user_id = $userApi->login($account, $password,1); $user_id = $userApi->login($user['account'], $user['password'],1);
$this -> set_message(1, "success", "添加成功"); $this -> set_message(1, "success", "添加成功");

Loading…
Cancel
Save