Commit 00795167 authored by gaoming's avatar gaoming

change

parent 566f390d
#channels项目
#渠道对接案例
```
http://channels.igengmei.com/like/zuimei/click-notify?imei=476f1785c7b5552d803ebe703ee167ac&idfa=gaoming_idfa&apptype=ios&device_id=mydeice_id&click_time=1527596429822&callback=https%253a%252f%252fsugar.zhihu.com%252fcallback%253fsessionid%253d3+6dc6f3e-4a68-4822-813b-5ddcdf35d07a
```
#查重
```
http://channels.igengmei.com/like/zuimei/doublecheck
```
#设备激活
```
http://channels.igengmei.com/like/statistic
```
#传参类型
|字段|数据类型|是否为空|说明|
|--|--|--|--|
|app_name| varchar(64) |NOT NULL|app类型zuimei,like|
|appid| varchar(64) |NOT NULL|渠道id|
|device_id| varchar(64) |NOT NULL|设备id|
|idfa| varchar(64) |NOT NULL||
|idfv| varchar(64) |NOT NULL||
|udid| varchar(64) |NOT NULL||
|uuid| varchar(64) |NOT NULL||
|imei| varchar(64) |NOT NULL||
|mac| varchar(100) |DEFAULT NULL||
|platform| varchar(100) |NOT NULL|os或者android|
|model| varchar(40) |DEFAULT NULL||
|client_type| int(11) |NOT NULL||
|callback_type| varchar(2) |NOT NULL|回调类型|
|callback| varchar(1024) |NOT NULL|回调参数|
|request| longtext |NOT NULL||
|response| longtext |NOT NULL||
|active_key| varchar(1024) |NOT NULL||
|record_from| varchar(128) |NOT NULL||
|version| varchar(10) |DEFAULT NULL||
|os_version| varchar(20) |DEFAULT NULL||
|screen| varchar(40) |DEFAULT NULL||
|create_time| datetime(6) |NOT NULL|创建时间|
|active_time| datetime(6) |DEFAULT NULL|激活时间|
|last_activity| datetime(6) |NOT NULL|最近活跃时间|
\ No newline at end of file
......@@ -10,6 +10,9 @@ Click==7.0
decorator==4.4.0
Django==2.2.1
flower==0.9.3
gevent==1.4.0
greenlet==0.4.15
gunicorn==19.9.0
idna==2.8
ipython==7.5.0
ipython-genutils==0.2.0
......
celery worker -A channel_tasks -l debug
\ No newline at end of file
celery worker -A channels -l info
\ 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