mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
增加访问记录功能
This commit is contained in:
@@ -19,7 +19,7 @@ class User extends Model
|
||||
public function getAvatarAttr($value)
|
||||
{
|
||||
if(empty($value)){
|
||||
return '/static/images/avatar.jpeg';
|
||||
return '/static/images/avatar.png';
|
||||
}
|
||||
|
||||
return \get_source_link($value);
|
||||
|
||||
Reference in New Issue
Block a user