新增分销员

This commit is contained in:
dzl
2025-09-28 13:15:45 +08:00
parent f6ae29ecce
commit 79339a37d8

View File

@@ -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}