Commit a1eafa48 authored by zhuwei's avatar zhuwei

1

parent c0c7367d
<?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
...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment