补充余量信息user_id

This commit is contained in:
lzh 2025-06-20 16:36:11 +08:00
parent 4e2faf05cb
commit 8528412c33

View File

@ -104,7 +104,8 @@ func GetBundleBalanceList(req *bundle.GetBundleBalanceListReq) (data []model.Bun
bor.status,
bor.uuid as order_uuid,
rn.name as user_name,
u.tel_num as user_phone_number
u.tel_num as user_phone_number,
u.id as user_id
`).
Joins("LEFT JOIN fiee_bundle.bundle_balance AS bb on u.id = bb.user_id").
Joins("LEFT JOIN `micro-account`.`real_name` rn on u.real_name_id = rn.id").