\app\api\service\order\sourceMaster

订单来源-普通订单扩展类 Class Master

Summary

Methods
Properties
Constants
checkOrderStatusOnPay()
getError()
hasError()
No public properties found
No constants found
checkGoodsStatusOnPay()
checkOrderStatusOnPayCommon()
$error
$wxappId
N/A
getOrderGoodsSku()
No private properties found
N/A

Properties

$error

$error : 

Type

$wxappId

$wxappId : 

Type

Methods

checkOrderStatusOnPay()

checkOrderStatusOnPay(  $order) : boolean

判断订单是否允许付款

Parameters

$order

Throws

\think\exception\DbException

Returns

boolean

getError()

getError() : mixed

获取错误信息

Returns

mixed

hasError()

hasError() : boolean

是否存在错误

Returns

boolean

checkGoodsStatusOnPay()

checkGoodsStatusOnPay(  $goodsList) : boolean

判断商品状态、库存 (未付款订单)

Parameters

$goodsList

Throws

\think\exception\DbException

Returns

boolean

checkOrderStatusOnPayCommon()

checkOrderStatusOnPayCommon(  $order) : boolean

判断订单状态(公共)

Parameters

$order

Returns

boolean

getOrderGoodsSku()

getOrderGoodsSku(  $goodsId,   $specSkuId) : \app\common\model\GoodsSku|null

获取指定的商品sku信息

Parameters

$goodsId
$specSkuId

Throws

\think\exception\DbException

Returns

\app\common\model\GoodsSku|null