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
7df4d5f2
Commit
7df4d5f2
authored
Mar 01, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
667d2227
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
OrderLog.php
application/api_broker/controller/OrderLog.php
+7
-3
No files found.
application/api_broker/controller/OrderLog.php
View file @
7df4d5f2
...
...
@@ -22,8 +22,9 @@ class OrderLog extends Basic
private
$o_refund_model
;
private
$service_
;
function
__construct
()
function
__construct
(
$request
=
null
)
{
parent
::
__construct
(
$request
);
$this
->
o_march_in_model
=
new
OMarchInModel
();
$this
->
o_refund_model
=
new
ORefundModel
();
$this
->
service_
=
new
OrderLogService
();
...
...
@@ -37,10 +38,13 @@ class OrderLog extends Basic
public
function
marchIn
()
{
$params
=
$this
->
params
;
if
(
!
isset
(
$params
[
"march_in_area"
])
||
!
isset
(
$params
[
"reception_id"
])
||
!
isset
(
$params
[
"report_id"
])
if
(
!
isset
(
$params
[
"march_in_area"
])
||
!
isset
(
$params
[
"report_id"
])
||
!
isset
(
$params
[
"reception_id"
])
||
!
isset
(
$params
[
"order_id"
])
||
!
isset
(
$params
[
"order_no"
]))
{
return
$this
->
response
(
"101"
,
"请求参数错误"
);
}
/* $params = array(
"reception_id" => 1,//带看经纪人id
"report_id" => 1,//报备id
...
...
@@ -50,7 +54,7 @@ class OrderLog extends Basic
"march_in_img" =>"123123", //备注图片
"march_in_area" =>"上海市虹口区中山公园", //进场地址
);*/
$params
[
"reception_id"
]
=
$this
->
agentName
;
//
$params["reception_id"] = $this->agentName;
$is_ok
=
$this
->
o_march_in_model
->
addMarchIn
(
$params
);
if
(
$is_ok
>
0
)
{
return
$this
->
response
(
"200"
,
"request success"
,
[]);
...
...
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