|
@@ -469,11 +469,11 @@ class AiView(View):
|
|
logger.info("---msg--id={msg_id}".format(msg_id=msg_id))
|
|
logger.info("---msg--id={msg_id}".format(msg_id=msg_id))
|
|
logger.info("---apns----push_time={apns_push_time}".format(apns_push_time=apns_push_time))
|
|
logger.info("---apns----push_time={apns_push_time}".format(apns_push_time=apns_push_time))
|
|
try:
|
|
try:
|
|
- AiProcessTime.objects.filter(msg_id=msg_id).update(appPushTime=apns_push_time)
|
|
|
|
|
|
+ aiRes = AiProcessTime.objects.filter(msg_id=msg_id).update(appPushTime=apns_push_time)
|
|
except Exception as e:
|
|
except Exception as e:
|
|
logger.info(repr(e))
|
|
logger.info(repr(e))
|
|
return response.json(902,repr(e))
|
|
return response.json(902,repr(e))
|
|
- return response.json(0)
|
|
|
|
|
|
+ return response.json(0,aiRes)
|
|
|
|
|
|
def do_ai_identification(self, request_dict,response):
|
|
def do_ai_identification(self, request_dict,response):
|
|
etk = request_dict.get('etk', None)
|
|
etk = request_dict.get('etk', None)
|