修改会员图片绝对地址

pull/201/head
27025011 2020-05-25 14:09:08 +08:00
parent d3a1c3978e
commit fc9f1a34d2
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ class User extends Model
//如果不需要启用首字母头像,请使用
//$value = '/assets/img/avatar.png';
$value = letter_avatar($data['nickname']);
}else{
$value = cdnurl($value, true);
}
return $value;
}