Compare commits

...

2 Commits

Author SHA1 Message Date
workabee 9fd5e0ad27 Merge branch 'wp' 2 weeks ago
workabee 8e49e8a76b 更新 2 weeks ago

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

Loading…
Cancel
Save