\App\Models\BehaviorRecord

Summary

Methods
Properties
Constants
img()
getBehaviorRecords()
getNewBehaviorRecords()
getBehaviorRange()
getMyBehaviorRecords()
getAllBehaviorRecords()
getRecords()
getRecordsByUserId()
No public properties found
UPDATED_AT
No protected methods found
$table
N/A
No private methods found
No private properties found
N/A

Constants

UPDATED_AT

UPDATED_AT = null

Properties

$table

$table : 

Type

Methods

img()

img() 

getBehaviorRecords()

getBehaviorRecords(  $user_id, integer  $date_type) : mixed

获取评分记录

Parameters

$user_id
integer $date_type

Returns

mixed

getNewBehaviorRecords()

getNewBehaviorRecords() : mixed

获取最新10条记录

Returns

mixed

getBehaviorRange()

getBehaviorRange() : array

获取排行榜记录

Returns

array

getMyBehaviorRecords()

getMyBehaviorRecords(  $record_user_id) : mixed

获取我的点评

Parameters

$record_user_id

Returns

mixed

getAllBehaviorRecords()

getAllBehaviorRecords() : mixed

获取全部点评

Returns

mixed

getRecords()

getRecords(integer  $record_user_id) : mixed

获取点评

Parameters

integer $record_user_id

Returns

mixed

getRecordsByUserId()

getRecordsByUserId(  $user_id) : mixed

根据user_id 获取个人记录

Parameters

$user_id

Returns

mixed