Commit 5e0b254d authored by 王英豪's avatar 王英豪

log

parent 4964d388
......@@ -10,6 +10,10 @@ import json
import arrow
import datetime
import time
import os
import logging
logger = logging.getLogger('django')
class PersonnelAllocationView(View):
......@@ -23,6 +27,12 @@ class PersonnelAllocationView(View):
return response_success()
data = json.loads(body)
ENV_PROFILE = os.getenv("ENV")
logger.info('222222222222')
logger.info(ENV_PROFILE)
logger.info('222222222222')
if 'color' in data.keys():
TestingProgress.objects.create(testing_progress_title=data['text'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment