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
2368a994
Commit
2368a994
authored
Jul 31, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
type
parent
0cb44bc6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
OfficePayLog.php
application/api_broker/controller/OfficePayLog.php
+18
-0
PayLog.php
application/api_broker/controller/PayLog.php
+17
-0
No files found.
application/api_broker/controller/OfficePayLog.php
View file @
2368a994
...
@@ -185,6 +185,24 @@ class OfficePayLog extends Basic
...
@@ -185,6 +185,24 @@ class OfficePayLog extends Basic
// return $this->response(101, '参数错误');
// return $this->response(101, '参数错误');
// }
// }
// $where['agent_id'] = $this->params['agent_id'];
// $where['agent_id'] = $this->params['agent_id'];
switch
(
$this
->
params
[
'type'
])
{
case
1
:
$where
[
'status'
]
=
1
;
break
;
case
2
:
$where
[
'status'
]
=
4
;
break
;
case
3
:
$where
[
'status'
]
=
3
;
break
;
case
4
:
$where
[
'status'
]
=
2
;
break
;
default
:
return
$this
->
response
(
101
,
'类型错误'
);
}
$field
=
'id,create_time,agent_name,refund_money,order_id,pay_log_id,bank,card_no,name,remark'
;
$field
=
'id,create_time,agent_name,refund_money,order_id,pay_log_id,bank,card_no,name,remark'
;
$where
[
'is_del'
]
=
0
;
$where
[
'is_del'
]
=
0
;
...
...
application/api_broker/controller/PayLog.php
View file @
2368a994
...
@@ -193,6 +193,23 @@ class PayLog extends Basic
...
@@ -193,6 +193,23 @@ class PayLog extends Basic
// return $this->response(101, '参数错误');
// return $this->response(101, '参数错误');
// }
// }
// $where['agent_id'] = $this->params['agent_id'];
// $where['agent_id'] = $this->params['agent_id'];
switch
(
$this
->
params
[
'type'
])
{
case
1
:
$where
[
'status'
]
=
1
;
break
;
case
2
:
$where
[
'status'
]
=
4
;
break
;
case
3
:
$where
[
'status'
]
=
3
;
break
;
case
4
:
$where
[
'status'
]
=
2
;
break
;
default
:
return
$this
->
response
(
101
,
'类型错误'
);
}
$field
=
'id,create_time,agent_name,refund_money,order_id,pay_log_id,bank,card_no,name,remark'
;
$field
=
'id,create_time,agent_name,refund_money,order_id,pay_log_id,bank,card_no,name,remark'
;
$where
[
'is_del'
]
=
0
;
$where
[
'is_del'
]
=
0
;
...
...
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