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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
officialWebsite.ts
src/biz/officialWebsite.ts
+3
-0
No files found.
src/biz/officialWebsite.ts
View file @
49a2a6d4
...
@@ -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