Commit eef5a7a6 authored by gaoming's avatar gaoming

ignore

parent c6b0c864
......@@ -195,37 +195,4 @@ class Channel(View):
data.update({"platform":data.pop('apptype',''),"appid":"jfq"})
return data
def google(self):
'''
谷歌推广
'''
data=self.request.GET.dict()
return data
def zhihu(self):
data=self.request.GET.dict()
data.update({"appid":"zhihu"})
#获得设备类型,和设备号
_os=data.get("os")
if _os.strip() in ("ios","android"):
platform = PLATFORM_CHANNEL.IOS.value[0]if _os.strip()=="ios" else PLATFORM_CHANNEL.ANDROID.value[0]
data.update({"platform":platform})
create_time=time.localtime(int(data.pop('click_time'))/1000)
dt=time.strftime("%Y-%m-%d %H:%M:%S",create_time)
data.update({"create_time":dt})
#增加记录
return data
def xiaomi(self):
#处理小米数据
data=self.request.GET.dict()
return data
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment