Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp_estate_server
Project
Project
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
mp_estate_backstage
mp_estate_server
Commits
1ed060b6
Commit
1ed060b6
authored
Sep 02, 2020
by
成旭东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签查询 状态为online
parent
bd36b3a7
Pipeline
#27823
passed with stage
in 2 minutes 6 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
list.ts
app/service/mpEstate/list.ts
+1
-1
tag.ts
app/service/mpEstate/tag.ts
+1
-1
No files found.
app/service/mpEstate/list.ts
View file @
1ed060b6
...
...
@@ -215,7 +215,7 @@ export default class EstateListService extends Service {
}
const
record
=
await
ctx
[
modelGroupName
].
WafangTag
.
findAll
({
where
:
{
valid
:
1
,
...
where
},
where
:
{
valid
:
1
,
status
:
'online'
,
...
where
},
...
options
,
});
return
ctx
.
service
.
output
.
toArray
(
record
,
format
);
...
...
app/service/mpEstate/tag.ts
View file @
1ed060b6
...
...
@@ -69,7 +69,7 @@ export default class EstateTagService extends Service {
const
format
=
formatConfig
;
const
data
=
await
ctx
[
modelGroupName
][
modelName
].
findAll
({
where
:
{
valid
:
1
},
where
:
{
valid
:
1
,
status
:
'online'
},
});
return
ctx
.
service
.
output
.
toArray
(
data
,
format
);
...
...
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