\app\api\behavior\orderPaySuccess

订单支付成功后扩展类 Class PaySuccess

Summary

Methods
Properties
Constants
run()
No public properties found
No constants found
No protected methods found
$sourceCallbackClass
N/A
setAttribute()
onCommonEvent()
onMasterEvent()
onSourceCallback()
$order
$orderType
$wxappId
N/A

Properties

$sourceCallbackClass

$sourceCallbackClass : array

订单来源回调业务映射类

Type

array

$order

$order : 

Type

$orderType

$orderType : 

Type

$wxappId

$wxappId : 

Type

Methods

run()

run(  $order, integer  $orderType = \app\common\enum\OrderType::MASTER) : boolean

执行入口

Parameters

$order
integer $orderType

Throws

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

Returns

boolean

setAttribute()

setAttribute(  $order, integer  $orderType = \app\common\enum\OrderType::MASTER) 

设置当前类的属性

Parameters

$order
integer $orderType

onCommonEvent()

onCommonEvent() 

订单公共业务

Throws

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

onMasterEvent()

onMasterEvent() 

普通订单业务

Throws

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

onSourceCallback()

onSourceCallback() : boolean

订单来源回调业务

Returns

boolean