- 七牛云资源添加前缀区分
This commit is contained in:
@@ -334,7 +334,7 @@ func DownloadFileByURL(fileURL string) (bodyData []byte, fileMD5 string, err err
|
||||
|
||||
/////
|
||||
func GenPicFileName(suffix string) string {
|
||||
return fmt.Sprintf("%x%s", md5.Sum([]byte(utils.GetUUID()+suffix)), suffix)
|
||||
return fmt.Sprintf("image/%x%s", md5.Sum([]byte(utils.GetUUID()+suffix)), suffix)
|
||||
}
|
||||
|
||||
func GuessVendorIDFromVendorStoreID(vendorStoreID int64) (vendorID int) {
|
||||
|
||||
Reference in New Issue
Block a user