完成用户管理;基本功能完成;

This commit is contained in:
augushong
2019-10-09 22:25:54 +08:00
parent e0283ec938
commit f00328d030
12 changed files with 513 additions and 124 deletions

View File

@@ -10,4 +10,13 @@ use think\Model;
class User extends Model
{
//
public function getAvatarAttr($value)
{
if(empty($value)){
return '/static/images/avatar.jpeg';
}
return \get_source_link($value);
}
}