|
@@ -17,6 +17,7 @@ from Model.models import Device_Info
|
|
from Object.AWS.AmazonS3Util import AmazonS3Util
|
|
from Object.AWS.AmazonS3Util import AmazonS3Util
|
|
from Roomumy.models import BabyUser, BabyGrowthStandard, DevelopmentalPoints
|
|
from Roomumy.models import BabyUser, BabyGrowthStandard, DevelopmentalPoints
|
|
from Service.CommonService import CommonService
|
|
from Service.CommonService import CommonService
|
|
|
|
+from Ansjer.config import LOGGER
|
|
|
|
|
|
|
|
|
|
class BabyView(View):
|
|
class BabyView(View):
|
|
@@ -74,6 +75,7 @@ class BabyView(View):
|
|
now_time = int(time.time())
|
|
now_time = int(time.time())
|
|
bucket = "ansjerfilemanager"
|
|
bucket = "ansjerfilemanager"
|
|
s3_url = 'https://{}.s3.{}.amazonaws.com.cn/'.format(bucket, REGION_NAME)
|
|
s3_url = 'https://{}.s3.{}.amazonaws.com.cn/'.format(bucket, REGION_NAME)
|
|
|
|
+ LOGGER.info(f"添加或修改宝宝信息打印参数{request_dict}, user_id:{user_id}")
|
|
try:
|
|
try:
|
|
with transaction.atomic():
|
|
with transaction.atomic():
|
|
device_id = ""
|
|
device_id = ""
|