feat: 互动模块相关接口 2
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
433cd7ca74
commit
a80088f60c
|
@ -11,7 +11,7 @@ interaction = APIBlueprint('interaction', __name__)
|
||||||
|
|
||||||
|
|
||||||
@interaction.post('/')
|
@interaction.post('/')
|
||||||
@interaction.doc(summary='添加交互记录', description='添加交互记录,category 类型int,1:点赞,2:加油,3:评论')
|
@interaction.doc(summary='添加互动记录', description='添加互动记录,category 类型int,1:点赞,2:加油,3:评论')
|
||||||
@interaction.input(InteractionIn, location='json')
|
@interaction.input(InteractionIn, location='json')
|
||||||
@login_required
|
@login_required
|
||||||
def add_interaction(json_data):
|
def add_interaction(json_data):
|
||||||
|
|
Loading…
Reference in New Issue