...
|
...
|
@@ -48,14 +48,14 @@ abstract class Base { |
|
|
* @author:dc
|
|
|
* @time 2023/3/10 16:07
|
|
|
*/
|
|
|
protected final function getEmail($filed='*'){
|
|
|
protected final function getEmail($filed='*',$del=true){
|
|
|
static $data;
|
|
|
if(empty($data)){
|
|
|
$data = db()->cache(600)->first(emailSql::first(web_request_email()));
|
|
|
if(empty($data)){
|
|
|
app()->e('email_request_required');
|
|
|
}
|
|
|
if($data['pwd_error']){
|
|
|
if($del && $data['pwd_error']){
|
|
|
app()->e('imap_password_error',403);
|
|
|
}
|
|
|
}
|
...
|
...
|
|