Compare commits
No commits in common. "76e4b7c9982edad02a2bc3b8a367e45471b2ed04" and "cf427ec269007403e29e3e004366dc7cfc7baa48" have entirely different histories.
76e4b7c998
...
cf427ec269
@ -197,9 +197,6 @@ func SaveValueAddService(in *bundle.ValueAddServiceLang) (res *bundle.SaveRespon
|
|||||||
hasDefault := false
|
hasDefault := false
|
||||||
for _, option := range options {
|
for _, option := range options {
|
||||||
if option.IsDefault {
|
if option.IsDefault {
|
||||||
if option.Symbol != "=" {
|
|
||||||
return res, errors.New("默认套餐数量只能选择数量符合为等于的选项")
|
|
||||||
}
|
|
||||||
hasDefault = true
|
hasDefault = true
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user