\app\api\service\master\orderPaySuccess

普通订单支付成功后的回调 Class PaySuccess

Summary

Methods
Properties
Constants
getError()
hasError()
onPaySuccess()
No public properties found
No constants found
No protected methods found
$error
$wxappId
N/A
becomeDealerUser()
No private properties found
N/A

Properties

$error

$error : 

Type

$wxappId

$wxappId : 

Type

Methods

getError()

getError() : mixed

获取错误信息

Returns

mixed

hasError()

hasError() : boolean

是否存在错误

Returns

boolean

onPaySuccess()

onPaySuccess(  $order) : boolean

回调方法

Parameters

$order

Throws

\think\exception\DbException

Returns

boolean

becomeDealerUser()

becomeDealerUser(  $order) : boolean

购买指定商品成为分销商

Parameters

$order

Throws

\think\exception\DbException

Returns

boolean