30 lines
715 B
Python
30 lines
715 B
Python
# -*- coding: utf-8 -*-
|
||
from __future__ import absolute_import
|
||
|
||
"""
|
||
广告接口
|
||
get (返回广告明细) params(gameid,localid)output(ad_title,ad_body,ad_image,ad_url)
|
||
post(新增广告定义) params(name,gameid,localid,start_time,end_time,ad_nums,ad_title,ad_body,ad_image,ad_url,ad_sort,status=unapproved,) output(1,0)
|
||
put(更新广告配置)params(name,gameid,localid,start_time,end_time,ad_nums,ad_title,ad_body,ad_image,ad_url,ad_sort)output(1,0)
|
||
delete(删除定义的广告)params()output(1,0)
|
||
|
||
"""
|
||
|
||
class AD():
|
||
def __init__(self):
|
||
pass
|
||
|
||
def get(self):
|
||
pass
|
||
|
||
def post(self):
|
||
pass
|
||
|
||
|
||
def put(self):
|
||
pass
|
||
|
||
|
||
def delete(self):
|
||
pass
|