|
|
@@ -2933,13 +2933,16 @@ def reply_wanzhu_consult(**kwargs):
|
|
|
|
|
|
|
|
|
else:
|
|
|
- cm.WanzhuConsult.objects.create(
|
|
|
+ wanzhu_obj = cm.WanzhuConsult.objects.create(
|
|
|
pid = pid,
|
|
|
reply_content = content,
|
|
|
user_id = 0,
|
|
|
player_id = 0,
|
|
|
reply_user_id = user_id
|
|
|
)
|
|
|
+ wanzhu_obj.width = width
|
|
|
+ wanzhu_obj.height = height
|
|
|
+ wanzhu_obj.save()
|
|
|
cm.Consult.objects.filter(user_id=user_id).update(reply_status=1,view_status=1,reply_content=content,ctime=datetime.datetime.now())
|
|
|
#发送消息提醒
|
|
|
if cm.UserInfo.objects.filter(id=user_id).exists():
|