Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
go_sku_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8a935097
authored
Jul 15, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
活动标签链接
parent
e692c59f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
model/activity.go
model/ly_sku.go
service/service_activity.go
model/activity.go
View file @
8a935097
...
...
@@ -42,9 +42,10 @@ type Activity struct {
StandardBrandIdList
[]
string
ExcludeStandardBrandIds
string
`json:"exclude_standard_brand_ids"`
ExcludeStandardBrandIdList
[]
string
CurrencyRmb
int
`json:"currency_rmb"`
CurrencyUs
int
`json:"currency_us"`
UseType
int
`json:"use_type"`
CurrencyRmb
int
`json:"currency_rmb"`
CurrencyUs
int
`json:"currency_us"`
UseType
int
`json:"use_type"`
SignUrl
string
`json:"sign_url"`
}
type
ActivityItem
struct
{
...
...
model/ly_sku.go
View file @
8a935097
...
...
@@ -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
{
...
...
service/service_activity.go
View file @
8a935097
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment