add message

This commit is contained in:
baoliang 2021-01-30 21:12:13 +08:00
parent c36f0213bd
commit bc5898b86c
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ def create_task(request):
if profile and profile.status == 1: if profile and profile.status == 1:
content = '%s在群组“%s”发布了任务,请查收消息' % (profile, g.name) content = '%s在群组“%s”发布了任务,请查收消息' % (profile, g.name)
Notice.create_normal_notice(u.user_id, content, group) Notice.create_normal_notice(u.user_id, content, group)
send_tnps([u.username], content) # send_tnps([u.username], content)
return JsonResponse({'status': 'success'}) return JsonResponse({'status': 'success'})