Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
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
方斌
51business
Commits
b2d1e47d
Commit
b2d1e47d
authored
Aug 13, 2019
by
Hsinli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addd
parent
91398572
Pipeline
#12217
passed with stage
in 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
new_house.js
app/service/house/v2/new_house.js
+1
-1
No files found.
app/service/house/v2/new_house.js
View file @
b2d1e47d
...
@@ -127,7 +127,7 @@ class NewHouseService extends Service {
...
@@ -127,7 +127,7 @@ class NewHouseService extends Service {
let
ret
=
{};
let
ret
=
{};
if
(
Object
.
keys
(
data
).
length
>
0
)
{
if
(
Object
.
keys
(
data
).
length
>
0
)
{
let
nearBy
=
''
;
let
nearBy
=
''
;
if
(
data
.
residential_nearby
.
length
>
0
)
{
if
(
data
.
residential_nearby
.
length
!==
null
&&
data
.
residential_nearby
.
length
>
0
)
{
if
(
/^
\[(
.*
?)\]
$/
.
test
(
data
.
residential_nearby
))
{
//粗略的匹配
if
(
/^
\[(
.*
?)\]
$/
.
test
(
data
.
residential_nearby
))
{
//粗略的匹配
//将json格式字符串处理
//将json格式字符串处理
let
temp
=
JSON
.
parse
(
data
.
residential_nearby
);
let
temp
=
JSON
.
parse
(
data
.
residential_nearby
);
...
...
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