Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
taxh5
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
data_server
taxh5
Commits
e2c5b559
Commit
e2c5b559
authored
Mar 13, 2019
by
何娜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cityList.js
parent
a8370d71
Pipeline
#4418
passed with stage
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cityList.js
app/schedule/cityList.js
+3
-3
No files found.
app/schedule/cityList.js
View file @
e2c5b559
...
...
@@ -22,14 +22,14 @@ module.exports = {
gzip
:
true
});
ctx
.
logger
.
info
(
'cityList--newhost'
,
newhost
,
JSON
.
stringify
(
newret
.
data
.
code
));
if
(
newret
.
data
.
code
==
0
)
{
if
(
newret
.
data
.
code
==
=
0
)
{
ctx
.
logger
.
info
(
'newret-start'
)
newret
.
data
.
data
.
map
(
Prov
=>
{
Prov
.
citys
.
map
(
city
=>
{
newCityMap
.
set
(
String
(
city
.
id
),
city
)
})
})
ctx
.
logger
.
info
(
'newCityMap'
,
newCityMap
)
ctx
.
logger
.
info
(
'newCityMap'
)
}
else
{
ctx
.
logger
.
info
(
'newCityMap- fail'
)
}
...
...
@@ -42,7 +42,7 @@ module.exports = {
gzip
:
true
});
ctx
.
logger
.
info
(
'cityList--host'
,
host
,
JSON
.
stringify
(
ret
.
data
.
code
));
if
(
ret
.
data
.
code
==
0
)
{
if
(
ret
.
data
.
code
==
=
0
)
{
cityLists
=
[];
cityTypeLists
=
[];
ctx
.
logger
.
info
(
'start'
)
...
...
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