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
b251f0a0
Commit
b251f0a0
authored
Sep 19, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
site_id
parent
4697dc5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
OrderLog.php
application/api_broker/controller/OrderLog.php
+6
-2
Cost.php
application/index/controller/Cost.php
+1
-0
No files found.
application/api_broker/controller/OrderLog.php
View file @
b251f0a0
...
@@ -78,14 +78,18 @@ class OrderLog extends Basic
...
@@ -78,14 +78,18 @@ class OrderLog extends Basic
if
(
!
$is_execute
)
{
if
(
!
$is_execute
)
{
return
$this
->
response
(
"101"
,
"请不要重复提交"
);
return
$this
->
response
(
"101"
,
"请不要重复提交"
);
}
}
$longitude
=
$params
[
'longitude'
];
$latitude
=
$params
[
'latitude'
];
unset
(
$params
[
"march_in_img"
]);
unset
(
$params
[
"march_in_img"
]);
unset
(
$params
[
"latitude"
]);
unset
(
$params
[
"longitude"
]);
$insert_id
=
$this
->
o_march_in_model
->
addMarchIn
(
$params
);
$insert_id
=
$this
->
o_march_in_model
->
addMarchIn
(
$params
);
if
(
$insert_id
>
0
)
{
if
(
$insert_id
>
0
)
{
$oImgModel
=
new
OImg
();
$oImgModel
=
new
OImg
();
$oImgModel
->
addImgAll
(
$insert_id
,
1
,
$march_in_img
);
$oImgModel
->
addImgAll
(
$insert_id
,
1
,
$march_in_img
);
$pushMarchIn
=
new
PushMessageService
();
$pushMarchIn
=
new
PushMessageService
();
$pushMarchIn
->
pushMarchInMessage
(
$params
[
"report_id"
],
1
,
$this
->
agentId
,
$this
->
siteId
);
//推送
$pushMarchIn
->
pushMarchInMessage
(
$params
[
"report_id"
],
1
,
$this
->
agentId
,
0
,
$this
->
siteId
);
//推送
//评价经纪人
//评价经纪人
$push_client
=
new
PushClientService
();
$push_client
=
new
PushClientService
();
...
@@ -94,7 +98,7 @@ class OrderLog extends Basic
...
@@ -94,7 +98,7 @@ class OrderLog extends Basic
//经纬度
//经纬度
if
(
!
empty
(
$params
[
'longitude'
])
&&
$params
[
'latitude'
])
{
if
(
!
empty
(
$params
[
'longitude'
])
&&
$params
[
'latitude'
])
{
$s_location
=
new
LocationService
();
$s_location
=
new
LocationService
();
$s_location
->
add
(
$this
->
agentId
,
$
params
[
'longitude'
],
$params
[
'latitude'
]
,
1
,
$insert_id
);
$s_location
->
add
(
$this
->
agentId
,
$
longitude
,
$latitude
,
1
,
$insert_id
);
}
}
//对客户发送短信通知 7151
//对客户发送短信通知 7151
// $this->sendSMSForUser($params["report_id"]);
// $this->sendSMSForUser($params["report_id"]);
...
...
application/index/controller/Cost.php
View file @
b251f0a0
...
@@ -195,6 +195,7 @@ class Cost extends Basic
...
@@ -195,6 +195,7 @@ class Cost extends Basic
case
4
:
case
4
:
$where
[
'a.status'
]
=
4
;
break
;
//已出账
$where
[
'a.status'
]
=
4
;
break
;
//已出账
case
5
:
case
5
:
$where
[
'a.site_id'
]
=
$this
->
siteId
;
$where
[
'a.status'
]
=
1
;
break
;
//行政审核
$where
[
'a.status'
]
=
1
;
break
;
//行政审核
}
}
}
}
...
...
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