商品支持有两张图片

This commit is contained in:
gazebo
2019-09-25 14:57:45 +08:00
parent 84740c33f0
commit 41866bf4b2
6 changed files with 69 additions and 31 deletions

View File

@@ -725,3 +725,12 @@ func GuessDataResourceVendor(resourceURL string) (vendorID int) {
}
return vendorID
}
func BatchString2Slice(strs ...string) (strList []string) {
for _, v := range strs {
if v != "" {
strList = append(strList, v)
}
}
return strList
}