...
|
...
|
@@ -259,6 +259,10 @@ class Index extends Api |
|
|
"http://jinglong.springchunjia.cn/uploads/20191127/febfea9a34c918cb2f100f669ede2547.png",
|
|
|
"http://jinglong.springchunjia.cn/uploads/20191127/042a3256122af7b10e26efb5e7649904.png"
|
|
|
],
|
|
|
"files": [//视频路径
|
|
|
"http://feifangu.qiniu.brotop.cn/uploads/20191217/05d216e117e11bd3de352c155b42eaaa.mp4",
|
|
|
"http://feifangu.qiniu.brotop.cn/uploads/20191217/05d216e117e11bd3de352c155b42eaaa.mp4"
|
|
|
],
|
|
|
"title": "超越百年历史的葡萄牙餐具",//晒单标题
|
|
|
"nickname": "桃花岛岛主",//用户昵称
|
|
|
"address": "上海"//用户归属地
|
...
|
...
|
@@ -283,18 +287,14 @@ class Index extends Api |
|
|
|
|
|
$res = Common::findSoftWhereData('ulist',['id'=>$u_list_id],'createtime,updatetime,deletetime',true);
|
|
|
if($res){
|
|
|
$res['images1'] = [];
|
|
|
$res['image'] = $this->auth->absolutionUrlOne($res['image']);
|
|
|
$res['images1'] = $this->auth->absolutionUrl($res['images']);
|
|
|
$res['images'] = $this->auth->absolutionUrl($res['images']);
|
|
|
if(!empty($res['files'])){
|
|
|
$res['files'] = $this->auth->absolutionUrl($res['files']);
|
|
|
}else{
|
|
|
$res['files'] = [];
|
|
|
}
|
|
|
$res['images'] = array_merge($res['images1'],$res['files']);
|
|
|
|
|
|
unset($res['images1']);
|
|
|
unset($res['files']);
|
|
|
$res_goods = Common::findSoftWhereData('goods',['id'=>$res['g_id']],'image,name,introduce');
|
|
|
$res['goods'] = '';
|
|
|
if($res_goods){
|
...
|
...
|
|