1
This commit is contained in:
@@ -537,6 +537,7 @@ func uploadImg(api *tao_vegetable.API, skuId, vendorId int, imgs []string) *stri
|
||||
taoImgs.VendorID = vendorId
|
||||
dao.CreateEntity(dao.GetDB(), taoImgs)
|
||||
}
|
||||
|
||||
// 商品图片最多五张
|
||||
if len(result) > 5 {
|
||||
return utils.String2Pointer(strings.Join(result[1:], ","))
|
||||
|
||||
Reference in New Issue
Block a user