当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
2 Star 0 Fork 0

Mocus莫克斯 / TodoList
暂停

 / 详情

关于新增的Push API

已完成
拥有者
创建于  
2022-03-31 17:45

Push

配置推送

style:

http://127.0.0.1:8000/push/<uid:int>/

允许放空

method=post
新增推送配置
params={
   	push_service:int
	push_mail:mail
	wechat_corid:str
    wechat_corpSecret:str
   	wechat_agentid:str
}
return{
	code:200 or others
}
method=GET
查询推送配置
params={
   
}
return{
	code:200 or others
	result:
	{
        push_service:int
        push_mail:mail
        wechat_corid:str
        wechat_corpSecret:str
        wechat_agentid:str
       }
}
method=PUT
修改推送配置
params={
    push_service:int
	push_mail:mail
	wechat_corid:str
    wechat_corpSecret:str
   	wechat_agentid:str
}
return{
	code:200 or others
}

评论 (3)

Mocus莫克斯 创建了任务
Mocus莫克斯 添加了
 
feature
标签
Mocus莫克斯 添加了
 
enhancement
标签
展开全部操作日志

def pushObj:
{
uid:int(主键)
push_service:int
push_mail:mail/null
wechat_corid:str/null
wechat_corpSecret:str/null
wechat_agentid:str/null
}

Mocus莫克斯 任务状态待办的 修改为进行中

基本无问题
修改查询推送的返回:仅返回是否为空
去掉uid参数传入

Mocus莫克斯 负责人设置为Mocus莫克斯

最终版本已写入API.md

Mocus莫克斯 任务状态进行中 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
5387473 mocus 1649033057
1
https://gitee.com/mocus/todo-list.git
git@gitee.com:mocus/todo-list.git
mocus
todo-list
TodoList

搜索帮助