feat: 允许修改身份证号
This commit is contained in:
parent
ed936082c7
commit
c71557b82b
|
@ -157,7 +157,7 @@ class RemployeeUpdateSerializer(CustomModelSerializer):
|
|||
|
||||
class Meta:
|
||||
model = Remployee
|
||||
fields = ['phone', 'photo']
|
||||
fields = ['phone', 'photo', 'id_number']
|
||||
|
||||
def update(self, instance, validated_data):
|
||||
with transaction.atomic():
|
||||
|
|
Loading…
Reference in New Issue