\app\common\service\orderRefund

订单退款服务类 Class Refund

Summary

Methods
Properties
Constants
execute()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
balance()
wxpay()
No private properties found
N/A

Methods

execute()

execute(\app\common\model\BaseModel  $order, double|null  $money = null) : boolean

执行订单退款

Parameters

\app\common\model\BaseModel $order

订单信息

double|null $money

指定退款金额

Throws

\think\Exception
\think\exception\DbException
\app\common\exception\BaseException

Returns

boolean

balance()

balance(  $order,   $money) : boolean

余额支付退款

Parameters

$order
$money

Throws

\think\Exception
\think\exception\DbException

Returns

boolean

wxpay()

wxpay(  $order, double  $money) : boolean

微信支付退款

Parameters

$order
double $money

Throws

\app\common\exception\BaseException
\think\exception\DbException

Returns

boolean