...
|
...
|
@@ -54,8 +54,10 @@ class Client extends Api |
|
|
->join('verification_store b','a.verification_store_id=b.id')
|
|
|
->field('a.*,b.address,b.name,b.phone')
|
|
|
->where($where)->find();
|
|
|
$activity['image'] = !empty($activity['poster'])?request()->domain().$activity['image']:'';
|
|
|
$activity['poster'] = !empty($activity['poster'])?request()->domain().$activity['poster']:'';
|
|
|
if(!empty($activity)){
|
|
|
$activity['image'] = !empty($activity['poster'])?request()->domain().$activity['image']:'';
|
|
|
$activity['poster'] = !empty($activity['poster'])?request()->domain().$activity['poster']:'';
|
|
|
}
|
|
|
$this->success('活动获取成功', $activity);
|
|
|
}
|
|
|
/**
|
...
|
...
|
|