|
@@ -44,7 +44,8 @@ class EquipmentInfo(View):
|
|
userID = tko.userID
|
|
userID = tko.userID
|
|
operation = request_dict.get('operation', None)
|
|
operation = request_dict.get('operation', None)
|
|
if not userID:
|
|
if not userID:
|
|
- return response.json(444, 'operation')
|
|
|
|
|
|
+ return response.json(309)
|
|
|
|
+ # return response.json(444, 'operation')
|
|
if operation == 'query':
|
|
if operation == 'query':
|
|
return self.query_info(request_dict, userID, response)
|
|
return self.query_info(request_dict, userID, response)
|
|
elif operation == 'add':
|
|
elif operation == 'add':
|