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
0bb5eab8
authored
Mar 21, 2023
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'ysx-魔方改版-20230313' into dev
parents
85617b84
21e8ae00
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
service/service_ly_common.go
service/service_price.go
service/service_ly_common.go
View file @
0bb5eab8
...
...
@@ -416,6 +416,12 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku {
break
outerLoop
}
}
}
else
{
if
sku
.
Eccn
==
eccn
{
fmt
.
Println
(
"全匹配"
)
findedRatio
=
true
break
outerLoop
}
}
}
}
...
...
service/service_price.go
View file @
0bb5eab8
package
service
import
(
"github.com/gomodule/redigo/redis"
"github.com/syyongx/php2go"
"github.com/tidwall/gjson"
"go_sku_server/model"
"go_sku_server/pkg/gredis"
"strconv"
"strings"
"time"
"github.com/gomodule/redigo/redis"
"github.com/syyongx/php2go"
"github.com/tidwall/gjson"
)
type
PriceService
struct
{
...
...
@@ -20,7 +21,6 @@ func (ls *LyService) GetActivityPrice(sku model.LySku, suffix string, power Powe
if
len
(
sku
.
LadderPrice
)
==
0
{
return
sku
}
// 这个是针对贸泽的活动价?如果有成本价就是代表有活动,而且活动模块没法设置mouse的活动价
if
suffix
==
""
&&
sku
.
SupplierId
==
14
{
return
getMouserActivityPrice
(
sku
)
...
...
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