Commit 8a935097 by 杨树贤

活动标签链接

parent e692c59f
......@@ -45,6 +45,7 @@ type Activity struct {
CurrencyRmb int `json:"currency_rmb"`
CurrencyUs int `json:"currency_us"`
UseType int `json:"use_type"`
SignUrl string `json:"sign_url"`
}
type ActivityItem struct {
......
......@@ -106,6 +106,7 @@ type PriceActivity struct {
SignText string `json:"sign_text,omitempty"`
Sign string `json:"sign,omitempty"`
ShowName string `json:"show_name,omitempty"`
SignUrl string `json:"sign_url"`
}
type GiftActivity struct {
......
......@@ -238,6 +238,7 @@ func (as *ActivityService) GetPriceActivity(checkData model.ActivityCheckData, a
AllowCoupon: activity.AllowCoupon,
UserScope: activity.UserScope,
},
SignUrl: activity.SignUrl,
}
if activity.CurrencyRmb == 1 {
priceActivity.Ratio = activity.Ratio
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment