\App\ModelsReceive

Summary

Methods
Properties
Constants
getReceiveCountOfTheDay()
getAllByPaginate()
receivePass()
receiveRefuse()
getReceiveStatus()
applyReceive()
No public properties found
No constants found
No protected methods found
$table
N/A
No private methods found
No private properties found
N/A

Properties

$table

$table : 

Type

Methods

getReceiveCountOfTheDay()

getReceiveCountOfTheDay() : array

获取当天的提现订单数量

Returns

array —

返回数组中仅包含一条数据,其中该数据中的count为当日当单数量

getAllByPaginate()

getAllByPaginate(null  $openid = null, null  $status = null) : \Illuminate\Contracts\Pagination\LengthAwarePaginator

分页查询提现记录

Parameters

null $openid

筛选条件openid

null $status

筛选条件提现状态

Returns

\Illuminate\Contracts\Pagination\LengthAwarePaginator

receivePass()

receivePass(  $id) : integer

根据提现id通过提现申请

Parameters

$id

Returns

integer

receiveRefuse()

receiveRefuse(  $id,   $reason) : integer

根据提现id拒绝提现申请

Parameters

$id
$reason

拒绝原因

Returns

integer

getReceiveStatus()

getReceiveStatus(  $openid) : integer

获取最近一次提现记录

Parameters

$openid

Returns

integer

applyReceive()

applyReceive(  $openid,   $amount,   $nickname) : void

申请提现

Parameters

$openid
$amount
$nickname