yf_yzl %!s(int64=2) %!d(string=hai) anos
pai
achega
628c5464d9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      apps/apply_weather.py

+ 1 - 0
apps/apply_weather.py

@@ -86,6 +86,7 @@ class GetWeather(APIView):
                     result = json.loads(result[0])
                     return Response({"content": result, "msg": "success", "code": 200})
                 except Exception as e:
+                    logging.info(e)
                     return Response({"msg": "请联系管理员", "code": "50001"})
             else:
                 return Response({"content": "", "msg": "success", "code": 500})