fix: result_appeal had wrong respContent label
This commit is contained in:
@@ -144,6 +144,8 @@ router.post('/', optionalAuth, upload.array('files', 5), finalizeUpload, validat
|
||||
? `举报已提交\n举报人: ${rgn} (UID: ${rgu})\n被举报人: ${target_game_name||'无'} (UID: ${target_game_uid||'无'})\n原因: ${reason}${description?'\n详情: '+description:''}`
|
||||
: type === 'appeal'
|
||||
? `申诉已提交\n申诉人: ${rgn} (UID: ${rgu})\n标题: ${title}\n申诉理由: ${reason}\n详细内容: ${description}`
|
||||
: type === 'result_appeal'
|
||||
? `结果申诉已提交\n申诉人: ${rgn} (UID: ${rgu})\n标题: ${title}\n申诉理由: ${reason}\n详细内容: ${description}`
|
||||
: `建议已提交\n提交人: ${rgn} (UID: ${rgu})\n标题: ${title}\n内容: ${description}`;
|
||||
|
||||
await conn.execute("INSERT INTO responses(ticket_id, user_id, content, is_staff) VALUES (?,?,?,0)", [ticketId, req.user?.id||null, respContent]);
|
||||
|
||||
Reference in New Issue
Block a user