Selaa lähdekoodia

货号不能为空

rambo 8 kuukautta sitten
vanhempi
commit
8f8cc640c5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      python/api.py

+ 1 - 1
python/api.py

@@ -133,7 +133,7 @@ def fromExcelHandler(params: HandlerDetail):
         raise UnicornException("缺失 [商品货号] 列")
     for index, row in excel_df.iterrows():
         goods_art_no_image_dir = str(row["文件夹名称"])
-        goods_art_no = row["商品货号"]
+        goods_art_no = str(row["商品货号"])
         try:
             if not goods_art_no:
                 raise UnicornException("货号不能为空")