Update bundleExtend.go

This commit is contained in:
JNG 2026-02-02 16:55:45 +08:00
parent e7fff341ca
commit bbc0b97b30

View File

@ -170,6 +170,7 @@ func GetBundleBalanceByUserId(req *bundle.GetBundleBalanceByUserIdReq) (data mod
Joins("LEFT JOIN bundle_activate bc on bc.user_id = u.id").
Where("rn.name IS NOT NULL").
Where("u.deleted_at = 0").
Where("bor1.status = 2"). //查询已支付
Where("u.id = ?", req.UserId).
Where("bb.month = ?", time.Now().Format("2006-01")).
Order("bor.expiration_time desc")