From efca6ae84a3bf5829491ae8c434cbb4500cda3dc Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 9 Oct 2019 19:41:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E6=97=A5=E5=BF=97=E7=94=A8?= =?UTF-8?q?=E4=BA=8E=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/ad.py | 1 + 1 file changed, 1 insertion(+) diff --git a/handler/ad.py b/handler/ad.py index b39cc70..f371711 100644 --- a/handler/ad.py +++ b/handler/ad.py @@ -209,6 +209,7 @@ class Ad(Resource): self.mydb.update("ad", ad, condition) print(f"status= {ad['status']}") if ad['status'] == 1: + print("aaaa") if rebuild_ad(): log.info(f"rebuild cache via ad change!") return jsonify({'code': 200, 'message': 'update adid={id} success!'})