This commit is contained in:
lwl0608 2024-04-29 17:52:52 +08:00
parent 715ff91c51
commit 924656e8ed
3 changed files with 10 additions and 0 deletions

View File

@ -120,6 +120,9 @@ type OpZoneRefundVO struct {
UserUserId int64 `json:"user_user_id"` // 购买用户 user_id UserUserId int64 `json:"user_user_id"` // 购买用户 user_id
Uid int64 `json:"uid"` // 主播 mid Uid int64 `json:"uid"` // 主播 mid
StreamerUserId int64 `json:"streamer_user_id"` // 主播 user_id StreamerUserId int64 `json:"streamer_user_id"` // 主播 user_id
ContactName string `json:"contact_name"` // 联系人
ContactPhone string `json:"contact_phone"` // 联系方式
Note string `json:"note"` // 备注
} }
type OpZoneRefundListData struct { type OpZoneRefundListData struct {

View File

@ -1009,6 +1009,9 @@ func (s *Service) OpZoneRefundList(ctx *gin.Context, req *zoneproto.OpZoneRefund
UserUserId: userUserId, UserUserId: userUserId,
Uid: o.GetUid(), Uid: o.GetUid(),
StreamerUserId: streamerUserId, StreamerUserId: streamerUserId,
ContactName: h.GetContactName(),
ContactPhone: h.GetContactPhone(),
Note: h.GetNote(),
} }
list = append(list, item) list = append(list, item)
} }

View File

@ -259,3 +259,7 @@ CREATE TABLE `vas_zone_refund_his`
`product_id` varchar(128) DEFAULT NULL COMMENT '商品id', `product_id` varchar(128) DEFAULT NULL COMMENT '商品id',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
); );
CREATE INDEX ix_mid_ct ON vas_zone_refund_his (mid,ct);
CREATE INDEX ix_zid_ct ON vas_zone_refund_his (zid,ct);
CREATE INDEX ix_orderid_ct ON vas_zone_refund_his (order_id,ct);
CREATE INDEX ix_ct ON vas_zone_refund_his (ct);