Commit 05dd7e08 authored by 谈海涛's avatar 谈海涛

获取中奖记录列表

parent 5be8c854
...@@ -64,4 +64,16 @@ class Prize extends Client ...@@ -64,4 +64,16 @@ class Prize extends Client
{ {
return self::call('prize.getMonthPrizeRaffleByUid', compact('uid','prizeId')); return self::call('prize.getMonthPrizeRaffleByUid', compact('uid','prizeId'));
} }
/**
* 根据用户id获取中奖记录列表
*
* @param integer $uid
*
* @return array|null|\yii\db\ActiveRecord
*/
public static function getPrizeRaffleListByUid($uid)
{
return self::call('prize.getPrizeRaffleListByUid', compact('uid'));
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment