|
@@ -136,6 +136,7 @@ func main() {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ obsUrl := checkFile
|
|
|
if isCover {
|
|
|
// 上传文件
|
|
|
huawei.InitConfig()
|
|
@@ -152,6 +153,7 @@ func main() {
|
|
|
return
|
|
|
}
|
|
|
fmt.Println("succ uploaded=>", obs.Url)
|
|
|
+ obsUrl = fmt.Sprintf("https:%s", obs.Url)
|
|
|
|
|
|
}
|
|
|
|
|
@@ -163,7 +165,7 @@ func main() {
|
|
|
fmt.Println("转换size string->int 错误:", err)
|
|
|
|
|
|
}
|
|
|
- obsUrl := fmt.Sprintf("https:%s", obs.Url)
|
|
|
+ // obsUrl := fmt.Sprintf("https:%s", obs.Url)
|
|
|
|
|
|
fmt.Println("上传成功")
|
|
|
|