Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
WeiPanAPI
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Discuz
WeiPanAPI
Commits
47596c0e
Commit
47596c0e
authored
May 13, 2021
by
xiongyuwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
c057398b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
WeiPanService.cs
src/Bailun.Discuz.Application/WeiPan/WeiPanService.cs
+1
-4
No files found.
src/Bailun.Discuz.Application/WeiPan/WeiPanService.cs
View file @
47596c0e
...
...
@@ -193,7 +193,7 @@ namespace Bailun.Discuz.Application.WeiPan
//var request=getFileListRequest.ToJson();
if
(
apiOutput
.
file_list
!=
null
)
{
apiOutput
.
file_list
.
item
=
apiOutput
.
file_list
.
item
.
Where
(
u
=>
u
.
file_status
==
"1"
).
ToList
();
//没被删除的文件
apiOutput
.
file_list
.
item
=
apiOutput
.
file_list
.
item
.
Where
(
u
=>
u
.
file_status
==
"1"
&&
!
u
.
file_name
.
Contains
(
"客户资料"
)).
OrderBy
(
u
=>
u
.
file_name
).
ToList
();
//没被删除的文件
var
wxUserIdsResponse
=
CreateRealNameByUseId
(
apiOutput
.
file_list
.
item
.
GroupBy
(
u
=>
u
.
create_userid
).
Select
(
u
=>
u
.
Key
).
ToList
());
List
<
ResultItem
>
realNames
=
new
List
<
ResultItem
>();
if
(
wxUserIdsResponse
.
statusCode
==
200
)
...
...
@@ -202,8 +202,6 @@ namespace Bailun.Discuz.Application.WeiPan
}
apiOutput
.
file_list
.
item
.
ForEach
(
u
=>
{
if
(!
u
.
file_name
.
Contains
(
"客户资料"
))
//剔除客户资料
{
if
(
u
.
file_name
.
Contains
(
"-"
))
{
u
.
file_name
=
u
.
file_name
.
Split
(
'-'
)[
1
];
...
...
@@ -218,7 +216,6 @@ namespace Bailun.Discuz.Application.WeiPan
u
.
create_user_name
=
u
.
create_userid
;
}
u
.
ctime
=
ConvertToDateTime
(
u
.
ctime
);
}
});
apiOutput
.
companyName
=
companyName
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment