Commit f8caaf8e by xiongyuwen

no message

parent 8d791a72
......@@ -477,8 +477,8 @@ namespace Bailun.Discuz.Application.WeiPan
//1:获取线上的所有文档数据
var filList=await GetFileList();
string value = "测试数据";
RedisHelper.Set("key", filList);
//string value = "测试数据";
//RedisHelper.Set("key", filList);
//List<WeiPanFileList> filList = RedisHelper.Get<List<WeiPanFileList>>("key");
//filList.RemoveAt(1);
//2:判断当前fileid是否存在于数据库中, 如果不存在则添加
......
using Bailun.AbpCore.ServiceFabric;
using Bailun.Discuz.Application.Util;
using Bailun.Discuz.Application.WeiPan;
using Bailun.Discuz.Application.WeiPan.Dto.ResponseDto;
using Bailun.Discuz.Domain.WeiPan;
......@@ -78,6 +79,8 @@ namespace Bailun.Discuz.Service.Controllers
[HttpGet("ProcessWeiPanWorker")]
public async Task<string> ProcessWeiPanWorker()
{
RedisHelper.Del(Constants.File_List_Tree);//清除缓存
RedisHelper.Del(Constants.First_File_List);//清除缓存
return await _iweiPanService.ProcessWeiPanWorker();
}
[HttpGet("GetFileInfo")]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment