\Rechargepoints_model

Model Class

Summary

Methods
Properties
Constants
__construct()
__get()
getPointsList()
add()
getHouseRow()
updata()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$table
N/A

Properties

$table

$table : 

Type

Methods

__construct()

__construct() : void

Class constructor

__get()

__get(string  $key) 

__get magic

Allows models to access CI's loaded classes using the same syntax as controllers.

Parameters

string $key

getPointsList()

getPointsList(  $userId,   $stime,   $etime) 

获取banner列表

Parameters

$userId
$stime
$etime

add()

add(  $data) 

插入交易记录

Parameters

$data

getHouseRow()

getHouseRow(  $orderId) 

lxn 2017-7-12 查询单条数据

Parameters

$orderId

updata()

updata(  $data = array(),   $id) 

Parameters

$data
$id