用户信息、个人名片、加密、水印
This commit is contained in:
@@ -5,6 +5,7 @@ namespace app\common\service;
|
||||
use app\common\validate\UserValidate;
|
||||
use app\common\traits\crud\CrudServiceTrait;
|
||||
use app\common\model\User;
|
||||
use support\Request;
|
||||
|
||||
class UserService
|
||||
{
|
||||
@@ -28,4 +29,12 @@ class UserService
|
||||
{
|
||||
return new $this->validator;
|
||||
}
|
||||
|
||||
public function beforeServiceUpdate($data, Request $request){
|
||||
unset($data['union_id']);
|
||||
unset($data['app_id']);
|
||||
unset($data['name']);
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user