记录错误
This commit is contained in:
parent
9cca6622cd
commit
b9d5928362
@ -43,6 +43,8 @@ async def point(request: Request, items: DataModel):
|
||||
|
||||
if not check_sign(sign, settings.SALT.get(appid, ''), sign_data, sign_properties):
|
||||
# continue
|
||||
print('签名错误')
|
||||
print(items)
|
||||
return {"code": -1, 'msg': '签名错误'}
|
||||
single_data = dict(**public_data, **data, properties=properties)
|
||||
check_preset(single_data)
|
||||
@ -53,6 +55,6 @@ async def point(request: Request, items: DataModel):
|
||||
|
||||
return {"code": 0, 'msg': 'ok'}
|
||||
except Exception as e:
|
||||
# msg = traceback.format_exc()
|
||||
traceback.format_exc()
|
||||
|
||||
return {"code": -1, 'msg': str(e)}
|
||||
|
Loading…
Reference in New Issue
Block a user