1.营销管理-优惠券列表接口优化,优惠券金额/100;

This commit is contained in:
chenlin 2024-12-23 15:30:07 +08:00
parent db1416c42e
commit 4561194bfb

View File

@ -239,6 +239,10 @@ func (m *ErpMarketingCouponListReq) List() (*ErpMarketingCouponListResp, error)
return resp, err
}
for i, v := range couponList {
couponList[i].Amount = v.Amount / 100
}
resp.List = couponList
return resp, nil