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
b542527c
Commit
b542527c
authored
May 22, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7938e205
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
PayLogOpen.php
application/api_broker/controller/PayLogOpen.php
+2
-2
PayLogOpenService.php
application/api_broker/service/PayLogOpenService.php
+1
-1
No files found.
application/api_broker/controller/PayLogOpen.php
View file @
b542527c
...
@@ -60,7 +60,7 @@ class PayLogOpen extends Basic
...
@@ -60,7 +60,7 @@ class PayLogOpen extends Basic
try
{
try
{
$open_img
=
json_decode
(
$params
[
"open_img"
],
true
);
$open_img
=
json_decode
(
$params
[
"open_img"
],
true
);
}
catch
(
Exception
$exception
)
{
}
catch
(
Exception
$exception
)
{
return
$this
->
response
(
"101"
,
"申请开
盘
图片解析错误:"
.
$exception
);
return
$this
->
response
(
"101"
,
"申请开
业
图片解析错误:"
.
$exception
);
}
}
$return_id
=
$this
->
service_
->
addApplyForOpen
(
$pay_log_id
,
$report_id
,
$bargain_id
,
$agent_id
,
$house_id
,
$intro
,
$return_id
=
$this
->
service_
->
addApplyForOpen
(
$pay_log_id
,
$report_id
,
$bargain_id
,
$agent_id
,
$house_id
,
$intro
,
...
@@ -68,7 +68,7 @@ class PayLogOpen extends Basic
...
@@ -68,7 +68,7 @@ class PayLogOpen extends Basic
if
(
$return_id
>
0
)
{
if
(
$return_id
>
0
)
{
return
$this
->
response
(
"200"
,
"success"
,
[
"id"
=>
$return_id
]);
return
$this
->
response
(
"200"
,
"success"
,
[
"id"
=>
$return_id
]);
}
elseif
(
$return_id
==
-
1
){
}
elseif
(
$return_id
==
-
1
){
return
$this
->
response
(
"101"
,
"开
盘
申请已提交,请勿重复提交"
);
return
$this
->
response
(
"101"
,
"开
业
申请已提交,请勿重复提交"
);
}
else
{
}
else
{
return
$this
->
response
(
"101"
,
"save error"
);
return
$this
->
response
(
"101"
,
"save error"
);
}
}
...
...
application/api_broker/service/PayLogOpenService.php
View file @
b542527c
...
@@ -177,7 +177,7 @@ class PayLogOpenService
...
@@ -177,7 +177,7 @@ class PayLogOpenService
$list
[
$key
][
"img_path"
]
=
CHAT_IMG_URL
;
$list
[
$key
][
"img_path"
]
=
CHAT_IMG_URL
;
$list
[
$key
][
"img_arr"
]
=
$img_arr
;
$list
[
$key
][
"img_arr"
]
=
$img_arr
;
$log_list
=
$this
->
payLogOpenLogModel
->
getAllList
(
$field_log
,
$item
[
"id"
],
[
]);
$log_list
=
$this
->
payLogOpenLogModel
->
getAllList
(
$field_log
,
0
,
[
"open_id"
=>
$item
[
"id"
]
]);
$list
[
$key
][
"log_list"
]
=
$log_list
;
$list
[
$key
][
"log_list"
]
=
$log_list
;
}
}
return
$list
;
return
$list
;
...
...
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