|
@@ -308,9 +308,9 @@ class PcInfo(View):
|
|
response.lang = tko.lang
|
|
response.lang = tko.lang
|
|
if tko.code != 0:
|
|
if tko.code != 0:
|
|
return response.json(tko.code)
|
|
return response.json(tko.code)
|
|
- userID = tko.userID
|
|
|
|
- if not userID:
|
|
|
|
- return response.json(104)
|
|
|
|
|
|
+ # 获取访问者的id和岗位
|
|
|
|
+ userID = tko.id
|
|
|
|
+
|
|
|
|
|
|
datetime = request_dict.get('datetime', None)
|
|
datetime = request_dict.get('datetime', None)
|
|
file_name = request_dict.get('file_name', None)
|
|
file_name = request_dict.get('file_name', None)
|