libushang 1 月之前
父節點
當前提交
b4ee9830b3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      routers/api/yst/file.py

+ 1 - 1
routers/api/yst/file.py

@@ -127,7 +127,7 @@ def show(
             if os.path.exists(file_type_path) and os.path.isdir(file_type_path):
                 file_list = []
                 for file_name in os.listdir(file_type_path):
-                    file_list.append("/mmh5_yjxm_yst/ebus/yst_mmsyjjzhyjxt/api/yst/file/show?thumb=1&file_name={}&rnd={}".format(file_name, new_guid()))    
+                    file_list.append("/mmh5_yjxm_yst/ebus/yst_mmsyjjzhyjxt/api/yst/file/show?thumb=1&file_name={}&rnd={}".format(file_name, unixstamp()))    
                 valueMap = {
                     'fileType': file_type,
                     'imageUrls': file_list