PHP Class Model\Order

Inheritance: extends Core\Model
Exibir arquivo Open project: sendya/shadowsocks-panel Class Usage Examples

Public Properties

Property Type Description
$createTime
$id
$money
$plan
$remark
$status 类型: 0 - 购买套餐 1 - 账户金额充值 2 - 购买卡号
$type
$uid

Public Methods

Method Description
getById ( $id ) : mixed get order info by id
getByUserId ( $userid )

Method Details

getById() public static method

get order info by id
public static getById ( $id ) : mixed
$id
return mixed

getByUserId() public static method

public static getByUserId ( $userid )

Property Details

$createTime public_oe property

public $createTime

$id public_oe property

public $id

$money public_oe property

public $money

$plan public_oe property

public $plan

$remark public_oe property

public $remark

$status public_oe property

类型: 0 - 购买套餐 1 - 账户金额充值 2 - 购买卡号
public $status

$type public_oe property

public $type

$uid public_oe property

public $uid