add message
This commit is contained in:
parent
c36f0213bd
commit
bc5898b86c
|
@ -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'})
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue