\app\api\service\sharpOrder

整点秒杀订单服务类 Class Order

Summary

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

Properties

$error

$error : 

Type

$wxappId

$wxappId : 

Type

Methods

getError()

getError() : mixed

获取错误信息

Returns

mixed

hasError()

hasError() : boolean

是否存在错误

Returns

boolean

getAlreadyBuyNum()

getAlreadyBuyNum(  $userId,   $goodsId) : float|integer

获取某商品的购买件数

Parameters

$userId
$goodsId

Returns

float|integer