|
@@ -540,7 +540,7 @@ class IssueService extends BaseService
|
|
|
*/
|
|
|
public static function currentLotteryResults($memberId)
|
|
|
{
|
|
|
- $result = self::model()::where('status', self::model()::STATUS_DRAW)->orderBy('id','desc')->get();
|
|
|
+ $result = self::model()::where('status', self::model()::STATUS_DRAW)->orderBy('id','desc')->first();
|
|
|
return $result->image;
|
|
|
// if($result){
|
|
|
// if($result->image){
|