reset getdata url

This commit is contained in:
RainSun 2020-08-06 13:57:22 +08:00
parent 2d5c2eec2c
commit f1a3595010

View File

@ -55,7 +55,7 @@ def strToArr(str):
# 加载excel文件
def loadData(file_name, sheet_index):
# 根据文件名加载文件
addr_cache = '/data/api/upload/' + file_name
addr_cache = '/app/upload/' + file_name
wb = load_workbook(addr_cache)
# 根据参数获取sheet
ws = wb[wb.sheetnames[sheet_index]]