\app\common\modelAwardLogModel

Class AwardLogModel

Summary

Methods
Properties
Constants
record()
rand_award()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

record()

record(  $uids,   $award,   $type,   $remark, array|integer  $order = array(), string  $field = 'reward') : integer

记录奖励

Parameters

$uids

int|array

$award
$type
$remark
array|integer $order
string $field

Returns

integer

rand_award()

rand_award(  $total,   $count,   $total_count,   $precision,   $ratio = 5,   $disperse = 100000) 

Parameters

$total
$count
$total_count
$precision
$ratio
$disperse