作者 邓超

x

... ... @@ -152,15 +152,18 @@ class Login {
if($ret){
// 同步一次文件夹
$mailClient->syncFolder(db()->value(emailSql::hasEmail($formData['email'])));
app()->_json(
db()->first(
emailSql::first(
$formData['email'],
'`id`,`email`,`imap`,`smtp`,`status`,`created_at`'
)
)
);
$ret = db()->first(
emailSql::first(
$formData['email'],
'`id`,`email`,`imap`,`smtp`,`status`,`created_at`'
));
$ret = array_merge($ret,app()->request(['imap','smtp']));
app()->_json($ret);
}
app()->e('login_error');
... ...