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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
model/activity.go
model/ly_sku.go
service/service_activity.go
model/activity.go
View file @
8a935097
...
...
@@ -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
{
...
...
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