Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
527c758a
Commit
527c758a
authored
Jun 13, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
57ccd45d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
BatchProcessing.php
application/index/controller/BatchProcessing.php
+6
-5
No files found.
application/index/controller/BatchProcessing.php
View file @
527c758a
...
...
@@ -131,10 +131,11 @@ class BatchProcessing extends Basic
$fail
=
0
;
foreach
(
$model_res
as
$key
=>
$v
)
{
$id
=
$v
[
'id'
];
// $address = $v['city'].$v['disc'].$v['address'];
$address
=
$v
[
'address'
];
$address
=
$v
[
'city'
]
.
$v
[
'disc'
]
.
$v
[
'address'
]
.
$v
[
'title'
];
big_log
(
$address
,
'getBuildingLatAadLng'
);
// $address = $v['address'];
$city
=
$v
[
'city'
];
/*获取商圈经纬度*/
/
/ /
*获取商圈经纬度*/
$res
=
$house_service
->
getLatLng
(
$address
,
$city
);
if
(
$res
){
...
...
@@ -145,8 +146,8 @@ class BatchProcessing extends Basic
$fail
++
;
$longitude
=
''
;
//'经度'
$latitude
=
''
;
//'维度'
$log_text
=
'办公楼名:'
.
$v
[
'
nam
e'
]
.
' 城市: '
.
$v
[
'city'
]
.
' 数据库ID: '
.
$id
;
big_log
(
$log_text
);
//记录日志
$log_text
=
'办公楼名:'
.
$v
[
'
titl
e'
]
.
' 城市: '
.
$v
[
'city'
]
.
' 数据库ID: '
.
$id
;
big_log
(
$log_text
,
'getBuildingLatAadLng'
);
//记录日志
}
$insert
=
[];
$insert
[
"id"
]
=
$id
;
...
...
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