处理id
This commit is contained in:
parent
3366b49ab7
commit
7f4ed3e0dd
@ -67,7 +67,7 @@ def addQR(request):
|
||||
if data:
|
||||
res = insertCode(data)
|
||||
if res:
|
||||
id = data.get('_id')
|
||||
id = str(data.get('_id'))
|
||||
# 去除里边的id
|
||||
data.pop('_id')
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user