调整广告的主键为 adid_locationid_area
This commit is contained in:
parent
58406a4670
commit
5f62f0ce4e
@ -11,6 +11,7 @@ from handler.location import Location
|
||||
from handler.ad import Ad
|
||||
from handler.ad_image_upload import Cos_sdk
|
||||
from handler.priv_map import PrivMaps
|
||||
from handler.reflush_ad import RelushADinfo
|
||||
from prod_config import priv_i_port
|
||||
define_logger("/data/logs/promotion.log")
|
||||
log = logging.getLogger(__name__)
|
||||
@ -25,6 +26,8 @@ api.add_resource(Location, '/interface/location')
|
||||
api.add_resource(Ad, '/interface/promotion')
|
||||
api.add_resource(Cos_sdk, '/interface/cos_upload')
|
||||
api.add_resource(PrivMaps, '/interface/maps')
|
||||
api.add_resource(RelushADinfo, '/interface/reflush_adinfo')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host='0.0.0.0', debug=True, port=priv_i_port)
|
||||
|
Loading…
x
Reference in New Issue
Block a user