\app\api\service\order\sourceSharp

订单来源-秒杀订单扩展类 Class Sharp

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(  $sharpGoods,   $specSkuId) : boolean

获取指定的商品sku信息

Parameters

$sharpGoods
$specSkuId

Returns

boolean