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
b017113a
Commit
b017113a
authored
May 13, 2021
by
xiongyuwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e4122f45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
WeiPanService.cs
src/Bailun.Discuz.Application/WeiPan/WeiPanService.cs
+11
-1
No files found.
src/Bailun.Discuz.Application/WeiPan/WeiPanService.cs
View file @
b017113a
...
...
@@ -165,9 +165,19 @@ namespace Bailun.Discuz.Application.WeiPan
{
Console
.
WriteLine
(
"开始刷新【公司制度及资讯】缓存中"
);
var
userId
=(
companyName
==
"广州百伦供应链科技有限公司"
?
"fengxiaoyin"
:
"gaodesheng"
);
await
GetFirstFileList
(
userId
,
companyName
,
false
,
true
);
var
firlseFileList
=
await
GetFirstFileList
(
userId
,
companyName
,
false
,
true
);
var
fileId
=
companyName
==
"广州百伦供应链科技有限公司"
?
"s.ww833808f6b8dc0745.610693393XlV_d.611837185H935"
:
"s.ww4e7dd5ae312eb101.614679173dzT_d.619409339X1T9"
;
if
(
companyName
!=
"广州百伦供应链科技有限公司"
)
{
foreach
(
var
item
in
firlseFileList
.
file_list
.
item
)
{
await
GetFileListTree
(
userId
,
companyName
,
item
.
fileid
,
false
,
true
);
}
}
else
{
await
GetFileListTree
(
userId
,
companyName
,
fileId
,
false
,
true
);
}
Console
.
WriteLine
(
"刷新【公司制度及资讯】缓存完毕"
);
}
...
...
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