商品支持有两张图片
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user