Compare commits

..

No commits in common. "9fd5e0ad271a899a27a5eb91a7094db139c09f78" and "62035acff6915b9b1b4fbb644464315d911f6394" have entirely different histories.

View File

@ -41,7 +41,7 @@ func DealExcelImg(filePath string) (err error) {
firstCellName = string(firstCell) firstCellName = string(firstCell)
} }
columnFullName = fmt.Sprintf("%s%s", firstCellName, columnName) columnFullName = fmt.Sprintf("%s%s", firstCellName, columnName)
if strings.Contains(colCell, "cdn.fontree.cn") || strings.Contains(colCell, "test.szjixun.cn") { if strings.Contains(colCell, "e-cdn.fontree.cn") {
suffix = colCell[strings.LastIndex(colCell, "."):] suffix = colCell[strings.LastIndex(colCell, "."):]
if strings.Contains(".jpg,.png,.gif,.bmp,.jpeg,", suffix) { if strings.Contains(".jpg,.png,.gif,.bmp,.jpeg,", suffix) {
cellNo = fmt.Sprintf("%s%v", columnFullName, lineNo) cellNo = fmt.Sprintf("%s%v", columnFullName, lineNo)