Closed qclucky7 closed 11 months ago
After I decompress the file name will be intercepted more。 Originally from golang strings.TrimRight()
println(strings.TrimRight("CaptainBIapp.zip", ".zip")) //CaptainBIa
Because I need the unzipped file name, but the api return value is not provided. The file name was intercepted in the previous step, which caused the file name to not match, and the file could not be read.
println(strings.TrimSuffix("CaptainBIapp.zip", ".zip")) //CaptainBIapp
is right
Hello, I was in a different context and apologize for the delayed response. I will fix it soon.
After I decompress the file name will be intercepted more。 Originally from golang strings.TrimRight()
Because I need the unzipped file name, but the api return value is not provided. The file name was intercepted in the previous step, which caused the file name to not match, and the file could not be read.