缺少权限验证

This commit is contained in:
augushong
2019-10-10 13:20:08 +08:00
parent f00328d030
commit f23e255619
32 changed files with 214 additions and 35 deletions

View File

@@ -3,6 +3,7 @@
namespace app\model;
use think\Model;
use think\model\concern\SoftDelete;
/**
* @mixin think\Model
@@ -11,6 +12,10 @@ class User extends Model
{
//
use SoftDelete;
protected $defaultSoftDelete = 0;
public function getAvatarAttr($value)
{
if(empty($value)){