first(); } /** * @param int $memberId * @param float $point * * @return bool */ public static function awardMember($memberId, $point) { return (new static())->fill([ 'uniacid' => \YunShop::app()->uniacid, 'point' => $point, 'member_id' => $memberId ])->save(); } }