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
11ac93d6
Commit
11ac93d6
authored
Jul 10, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款列表优化2
parent
b2a093bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Collection.php
application/index/controller/Collection.php
+5
-2
No files found.
application/index/controller/Collection.php
View file @
11ac93d6
...
@@ -115,11 +115,14 @@ class Collection extends Basic
...
@@ -115,11 +115,14 @@ class Collection extends Basic
if
(
!
isset
(
$params
[
"collection_id"
])
||
$params
[
"collection_id"
]
<=
0
){
if
(
!
isset
(
$params
[
"collection_id"
])
||
$params
[
"collection_id"
]
<=
0
){
return
$this
->
response
(
"101"
,
"请求参数错误"
);
return
$this
->
response
(
"101"
,
"请求参数错误"
);
}
}
if
(
!
isset
(
$params
[
"real_money"
])
||
$params
[
"real_money"
]
<=
0
){
if
(
(
!
isset
(
$params
[
"real_money"
])
||
$params
[
"real_money"
]
<=
0
)
and
(
!
isset
(
$params
[
"transaction_fee"
])
||
$params
[
"transaction_fee"
]
<=
0
)
){
return
$this
->
response
(
"101"
,
"请求参数错误"
);
return
$this
->
response
(
"101"
,
"请求参数错误"
);
}
}
$where_
[
"id"
]
=
$params
[
"collection_id"
];
$where_
[
"id"
]
=
$params
[
"collection_id"
];
$where_
[
"real_money"
]
=
$params
[
"real_money"
];
if
(
!
isset
(
$params
[
"real_money"
])
||
$params
[
"real_money"
]
<=
0
){
$where_
[
"real_money"
]
=
$params
[
"real_money"
];
}
if
(
!
isset
(
$params
[
"transaction_fee"
])
||
$params
[
"transaction_fee"
]
<=
0
){
if
(
!
isset
(
$params
[
"transaction_fee"
])
||
$params
[
"transaction_fee"
]
<=
0
){
$where_
[
"transaction_fee"
]
=
$params
[
"transaction_fee"
];
$where_
[
"transaction_fee"
]
=
$params
[
"transaction_fee"
];
...
...
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