Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
channels
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gaoming
channels
Commits
00795167
Commit
00795167
authored
Jun 05, 2019
by
gaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change
parent
566f390d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
2 deletions
+46
-2
README.MD
README.MD
+41
-0
requirements.txt
requirements.txt
+3
-0
start_celery.sh
start_celery.sh
+2
-2
No files found.
README.MD
0 → 100644
View file @
00795167
#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
requirements.txt
View file @
00795167
...
...
@@ -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
...
...
start_celery.sh
View file @
00795167
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment