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
c4356e00
authored
Dec 09, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
debug
parent
a3284d42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
service/service_price.go
service/service_price.go
View file @
c4356e00
...
@@ -113,6 +113,10 @@ func (ls *LyService) GetActivityPrice(sku model.LySku, suffix string, power Powe
...
@@ -113,6 +113,10 @@ func (ls *LyService) GetActivityPrice(sku model.LySku, suffix string, power Powe
default
:
default
:
//除了新客价和折扣价,剩下的价格活动
//除了新客价和折扣价,剩下的价格活动
if
len
(
brandIds
)
>
0
{
if
len
(
brandIds
)
>
0
{
contentSlice
=
append
(
contentSlice
,
"品牌id"
)
contentSlice
=
append
(
contentSlice
,
sku
.
BrandId
)
contentSlice
=
append
(
contentSlice
,
brandIds
)
sku
.
Content
=
contentSlice
if
!
php2go
.
InArray
(
sku
.
BrandId
,
brandIds
)
{
if
!
php2go
.
InArray
(
sku
.
BrandId
,
brandIds
)
{
contentSlice
=
append
(
contentSlice
,
"活动状态错误"
)
contentSlice
=
append
(
contentSlice
,
"活动状态错误"
)
sku
.
Content
=
contentSlice
sku
.
Content
=
contentSlice
...
...
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