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
946ce122
Commit
946ce122
authored
Jun 13, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b90b7940
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
BatchProcessing.php
application/index/controller/BatchProcessing.php
+5
-2
OfficeGBuilding.php
application/model/OfficeGBuilding.php
+8
-0
No files found.
application/index/controller/BatchProcessing.php
View file @
946ce122
...
...
@@ -131,11 +131,14 @@ class BatchProcessing extends Basic
$fail
=
0
;
foreach
(
$model_res
as
$key
=>
$v
)
{
$id
=
$v
[
'id'
];
$address
=
$v
[
'
name
'
];
$address
=
$v
[
'
address
'
];
$city
=
$v
[
'city'
];
/*获取商圈经纬度*/
$res
=
$house_service
->
getLatLng
(
$address
,
$city
);
dump
(
$res
);
exit
;
dump
(
$address
);
dump
(
$city
);
dump
(
$res
);
exit
;
if
(
$res
){
$success_num
++
;
...
...
application/model/OfficeGBuilding.php
View file @
946ce122
...
...
@@ -169,4 +169,12 @@ class OfficeGBuilding extends BaseModel
->
select
();
return
$result
;
}
public
function
updateBusinessDistrict
(
$params
)
{
$result
=
$this
->
update
(
$params
);
//dump($this->getLastSql());
return
$result
;
}
}
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