From 79339a37d85b698fd851e7f7aaf7a88aedb51611 Mon Sep 17 00:00:00 2001 From: dzl <786316265@qq.com> Date: Sun, 28 Sep 2025 13:15:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=88=86=E9=94=80=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/orders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/orders.js b/routes/orders.js index 8f82071..786cba2 100644 --- a/routes/orders.js +++ b/routes/orders.js @@ -77,7 +77,7 @@ router.get('/', auth, async (req, res) => { SELECT o.id, o.order_no, o.user_id, o.total_amount, o.total_points, o.status, o.address, o.created_at, o.updated_at,o.total_rongdou, - u.username + u.username,salesperson_id FROM orders o LEFT JOIN users u ON o.user_id = u.id ${whereClause}