Merge branch 'wwq' into dev
This commit is contained in:
commit
29d6a2e022
@ -189,13 +189,7 @@ func readExcel(excelPath string) ([]excelData, error) {
|
|||||||
return nil, fmt.Errorf("第%d行应该有tiktok账号昵称", i+1)
|
return nil, fmt.Errorf("第%d行应该有tiktok账号昵称", i+1)
|
||||||
}
|
}
|
||||||
youtube := getCellValue(f, sheetName, i, 4)
|
youtube := getCellValue(f, sheetName, i, 4)
|
||||||
if youtube == "" {
|
|
||||||
return nil, fmt.Errorf("第%d行应该有youtube账号昵称", i+1)
|
|
||||||
}
|
|
||||||
instagram := getCellValue(f, sheetName, i, 5)
|
instagram := getCellValue(f, sheetName, i, 5)
|
||||||
if instagram == "" {
|
|
||||||
return nil, fmt.Errorf("第%d行应该有ins账号昵称", i+1)
|
|
||||||
}
|
|
||||||
desc := getCellValue(f, sheetName, i, 6)
|
desc := getCellValue(f, sheetName, i, 6)
|
||||||
titleRequire := getCellValue(f, sheetName, i, 7)
|
titleRequire := getCellValue(f, sheetName, i, 7)
|
||||||
if titleRequire == "" {
|
if titleRequire == "" {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user