添加按companyid返回广告列表的方法
This commit is contained in:
parent
98be9cc6c4
commit
04762353e9
@ -80,9 +80,7 @@ class Ad(Resource):
|
||||
except Exception:
|
||||
log.error("split data from mysql failed!", exc_info=True)
|
||||
else:
|
||||
return jsonify({
|
||||
'code': 404, 'message': f'ad not found with id={id},status={status},companyid={companyid}!'
|
||||
})
|
||||
return jsonify({'code': 200})
|
||||
|
||||
|
||||
def post(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user