From 5d5a47e24044c9781dc45dfd4e0894555a6c9f1d Mon Sep 17 00:00:00 2001 From: pengtao Date: Thu, 8 Aug 2019 11:50:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E5=B9=BF=E5=91=8A=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=20ad=5Fproperty=20=E4=BD=9C=E4=B8=BAjson?= =?UTF-8?q?=E5=AD=98=E5=82=A8=E5=B9=BF=E5=91=8A=E7=9A=84=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= 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 7fec084..5a4dd75 100644 --- a/handler/ad.py +++ b/handler/ad.py @@ -263,6 +263,7 @@ class Ad(Resource): ad['jump_status'] = self.args['jump_status'] ad['ad_property'] = self.args['ad_property'] + sel_sql = f"select name from ad where id={self.args['id']};" data = self.mydb.query(sel_sql) if data: