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
e873c63a
authored
Dec 09, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'ysx-商品服务-20201013'
parents
fc1a765a
4beafa7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
service/service_price.go
service/service_price.go
View file @
e873c63a
...
@@ -134,7 +134,7 @@ func (ls *LyService) GetActivityPrice(sku model.LySku, suffix string, power Powe
...
@@ -134,7 +134,7 @@ func (ls *LyService) GetActivityPrice(sku model.LySku, suffix string, power Powe
if
suffix
==
"_Member"
&&
gjson
.
Get
(
activityInfo
,
"is_part"
)
.
Int
()
==
1
&&
if
suffix
==
"_Member"
&&
gjson
.
Get
(
activityInfo
,
"is_part"
)
.
Int
()
==
1
&&
visibleRoster
!=
""
{
visibleRoster
!=
""
{
//为了用字符串匹配
//为了用字符串匹配
visibleRoster
=
visibleRoster
+
","
visibleRoster
=
","
+
visibleRoster
+
","
//提取出user_id、手机号、邮箱
//提取出user_id、手机号、邮箱
userInfo
:=
make
(
map
[
string
]
string
)
userInfo
:=
make
(
map
[
string
]
string
)
userInfo
[
"user_id"
]
=
power
.
UserId
userInfo
[
"user_id"
]
=
power
.
UserId
...
...
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