Commit f94eab5a by Li Feifei

Update file_upload.go

parent 630fe23b
Pipeline #20507 passed with stages
in 1 minute 11 seconds
......@@ -160,7 +160,7 @@ func (f *ObtainFile) uploadPicture() error {
// 上传packed.json
func (f *ObtainFile) uploadPacked() error {
for i := 1; i <= f.pageCount; i++ {
f.packed.ImagesName = append(f.packed.ImagesName, fmt.Sprintf("%05d", i)+".png")
f.packed.ImagesName = append(f.packed.ImagesName, fmt.Sprintf("%05d", i)+".webp")
}
packedBytes, err := json.Marshal(f.packed)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment