\app\common\service\orderComplete

已完成订单结算服务类 Class Complete

Summary

Methods
Properties
Constants
__construct()
complete()
settled()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
setGiftPointsBonus()
setIncUserExpend()
$model
$UserModel
N/A

Properties

$model

$model : 

Type

$UserModel

$UserModel : 

Type

Methods

__construct()

__construct() 

构造方法 Complete constructor.

complete()

complete(\think\Collection|array  $orderList, integer  $orderType, integer  $wxappId) : boolean

执行订单完成后的操作

Parameters

\think\Collection|array $orderList
integer $orderType
integer $wxappId

Throws

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

Returns

boolean

settled()

settled(  $orderList) : boolean

执行订单结算

Parameters

$orderList

Throws

\Exception

Returns

boolean

setGiftPointsBonus()

setGiftPointsBonus(  $orderList) : boolean

处理订单赠送的积分

Parameters

$orderList

Throws

\Exception

Returns

boolean

setIncUserExpend()

setIncUserExpend(  $orderList) : boolean

累积用户实际消费金额

Parameters

$orderList

Throws

\Exception

Returns

boolean