作者 jingchen

submit

... ... @@ -168,10 +168,4 @@ class Active extends Api
}
// 获取我的礼品卡
public function getMyCard(){
UserGift::where()->select();
}
}
\ No newline at end of file
... ...
... ... @@ -48,7 +48,7 @@ class UserCard extends Model
$data[] = db('activity')->where('id',$v)->find();
}
foreach ($data as $k => $v1){
$data[$k]['images'] = cdnurl($v1['images'],true);
$data[$k]['images'] = isset($v1['images']) && $v1['images'] ? cdnurl($v1['images'],true) : '';
}
return $data;
}
... ...