Commit 616f8d1f by xiongyuwen

no message

parent f7ef4804
......@@ -144,6 +144,14 @@ namespace Bailun.Discuz.Application.WeiPan
}
if (cachingResponse != null)
{
cachingResponse.file_list.item.ForEach(u =>
{
if(u.file_name.Contains("-"))
{
u.file_name = u.file_name.Split('-')[1];
}
}
);
return cachingResponse;
}
else
......@@ -170,6 +178,10 @@ namespace Bailun.Discuz.Application.WeiPan
}
apiOutput.file_list.item.ForEach(u =>
{
if (u.file_name.Contains("-"))
{
u.file_name = u.file_name.Split('-')[1];
}
var user = realNames.Where(r => r.wxUserId == u.create_userid).FirstOrDefault();
if (user != null)
{
......
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