Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wenHuaBu_adminServer
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
node_server
wenHuaBu_adminServer
Commits
49a2a6d4
Commit
49a2a6d4
authored
Mar 31, 2024
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6d2da78e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
officialWebsite.ts
src/biz/officialWebsite.ts
+4
-1
No files found.
src/biz/officialWebsite.ts
View file @
49a2a6d4
...
@@ -135,7 +135,7 @@ export async function xueHuiGaiKuang() {
...
@@ -135,7 +135,7 @@ export async function xueHuiGaiKuang() {
xueHuiLingDaoData
.
forEach
(
info
=>
{
xueHuiLingDaoData
.
forEach
(
info
=>
{
let
item
:
any
=
extractData
(
info
,
[
"name"
,
"position"
,
"imgUrl"
,
"miniImgUrl"
,
"desc"
]);
let
item
:
any
=
extractData
(
info
,
[
"name"
,
"position"
,
"imgUrl"
,
"miniImgUrl"
,
"desc"
]);
item
.
position
=
changeEnumValue
(
XUEHUILINGDAOZHIWEI
,
item
.
position
);
item
.
position
=
changeEnumValue
(
XUEHUILINGDAOZHIWEI
,
item
.
position
);
result
.
xueHuiLingDao
.
push
();
result
.
xueHuiLingDao
.
push
();
});
});
/**组织架构 */
/**组织架构 */
...
@@ -241,6 +241,9 @@ export async function dongTaiZiXun({type, pageNumber}) {
...
@@ -241,6 +241,9 @@ export async function dongTaiZiXun({type, pageNumber}) {
*/
*/
export
async
function
wenZhangXiangQing
({
id
})
{
export
async
function
wenZhangXiangQing
({
id
})
{
let
dataBaseInfo
=
await
findOnce
(
TABLEENUM
.
文章管理
,
{
id
,
display
:
STATE
.
是
});
let
dataBaseInfo
=
await
findOnce
(
TABLEENUM
.
文章管理
,
{
id
,
display
:
STATE
.
是
});
if
(
!
dataBaseInfo
||
!
dataBaseInfo
.
id
)
{
throw
new
BizError
(
ERRORENUM
.
目标数据不存在
);
}
let
dataInfo
:
any
=
extractData
(
dataBaseInfo
,
[
"articleTime"
,
"imgUrl"
,
"title"
,
"desc"
]);
let
dataInfo
:
any
=
extractData
(
dataBaseInfo
,
[
"articleTime"
,
"imgUrl"
,
"title"
,
"desc"
]);
dataInfo
.
articleTime
=
moment
(
dataInfo
.
articleTime
).
format
(
"YYYY-MM-DD"
);
dataInfo
.
articleTime
=
moment
(
dataInfo
.
articleTime
).
format
(
"YYYY-MM-DD"
);
dataInfo
.
source
=
"中国艺术职业教育学会"
;
dataInfo
.
source
=
"中国艺术职业教育学会"
;
...
...
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