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
a1eafa48
Commit
a1eafa48
authored
Mar 13, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c0c7367d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
1 deletion
+32
-1
UserAccountBalance.php
application/api/controller/UserAccountBalance.php
+31
-0
ConvertCouponService.php
application/api/service/ConvertCouponService.php
+1
-1
No files found.
application/api/controller/UserAccountBalance.php
0 → 100644
View file @
a1eafa48
<?php
namespace
app\api\controller
;
use
app\api\extend\Basic
;
use
app\api\service\AccountBalanceService
;
use
think\Request
;
/**
* Created by PhpStorm.
* User: zhuwei
* Date: 2019/3/13
* Time: 10:17
*/
class
UserAccountBalance
extends
Basic
{
private
$s_account_balance
;
public
function
__construct
(
Request
$request
=
null
)
{
parent
::
__construct
(
$request
);
$this
->
s_account_balance
=
new
AccountBalanceService
();
}
public
function
userAccountBalanceList
()
{
$params
=
$this
->
params
;
$result
[
"list"
]
=
$this
->
s_account_balance
->
getBalanceList
(
$params
);
return
$this
->
response
(
"200"
,
"success!"
,
$result
);
}
}
\ No newline at end of file
application/api/service/ConvertCouponService.php
View file @
a1eafa48
...
@@ -174,7 +174,7 @@ class ConvertCouponService
...
@@ -174,7 +174,7 @@ class ConvertCouponService
$params
[
'b.return_action'
]
=
2
;
$params
[
'b.return_action'
]
=
2
;
}
else
{
}
else
{
// $params['b.return_action'] = array("in","0,1");
// $params['b.return_action'] = array("in","0,1");
$params
[
'b.return_action'
]
=
1
;
$params
[
'b.return_action'
]
=
0
;
}
}
$params
[
'a.status'
]
=
0
;
$params
[
'a.status'
]
=
0
;
return
$this
->
m_coupon
->
getCouponJoinActivity
(
$field
,
$params
);
return
$this
->
m_coupon
->
getCouponJoinActivity
(
$field
,
$params
);
...
...
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