正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
@@ -259,6 +259,10 @@ class Index extends Api | @@ -259,6 +259,10 @@ class Index extends Api | ||
259 | "http://jinglong.springchunjia.cn/uploads/20191127/febfea9a34c918cb2f100f669ede2547.png", | 259 | "http://jinglong.springchunjia.cn/uploads/20191127/febfea9a34c918cb2f100f669ede2547.png", |
260 | "http://jinglong.springchunjia.cn/uploads/20191127/042a3256122af7b10e26efb5e7649904.png" | 260 | "http://jinglong.springchunjia.cn/uploads/20191127/042a3256122af7b10e26efb5e7649904.png" |
261 | ], | 261 | ], |
262 | + "files": [//视频路径 | ||
263 | + "http://feifangu.qiniu.brotop.cn/uploads/20191217/05d216e117e11bd3de352c155b42eaaa.mp4", | ||
264 | + "http://feifangu.qiniu.brotop.cn/uploads/20191217/05d216e117e11bd3de352c155b42eaaa.mp4" | ||
265 | + ], | ||
262 | "title": "超越百年历史的葡萄牙餐具",//晒单标题 | 266 | "title": "超越百年历史的葡萄牙餐具",//晒单标题 |
263 | "nickname": "桃花岛岛主",//用户昵称 | 267 | "nickname": "桃花岛岛主",//用户昵称 |
264 | "address": "上海"//用户归属地 | 268 | "address": "上海"//用户归属地 |
@@ -283,18 +287,14 @@ class Index extends Api | @@ -283,18 +287,14 @@ class Index extends Api | ||
283 | 287 | ||
284 | $res = Common::findSoftWhereData('ulist',['id'=>$u_list_id],'createtime,updatetime,deletetime',true); | 288 | $res = Common::findSoftWhereData('ulist',['id'=>$u_list_id],'createtime,updatetime,deletetime',true); |
285 | if($res){ | 289 | if($res){ |
286 | - $res['images1'] = []; | ||
287 | $res['image'] = $this->auth->absolutionUrlOne($res['image']); | 290 | $res['image'] = $this->auth->absolutionUrlOne($res['image']); |
288 | - $res['images1'] = $this->auth->absolutionUrl($res['images']); | 291 | + $res['images'] = $this->auth->absolutionUrl($res['images']); |
289 | if(!empty($res['files'])){ | 292 | if(!empty($res['files'])){ |
290 | $res['files'] = $this->auth->absolutionUrl($res['files']); | 293 | $res['files'] = $this->auth->absolutionUrl($res['files']); |
291 | }else{ | 294 | }else{ |
292 | $res['files'] = []; | 295 | $res['files'] = []; |
293 | } | 296 | } |
294 | - $res['images'] = array_merge($res['images1'],$res['files']); | ||
295 | 297 | ||
296 | - unset($res['images1']); | ||
297 | - unset($res['files']); | ||
298 | $res_goods = Common::findSoftWhereData('goods',['id'=>$res['g_id']],'image,name,introduce'); | 298 | $res_goods = Common::findSoftWhereData('goods',['id'=>$res['g_id']],'image,name,introduce'); |
299 | $res['goods'] = ''; | 299 | $res['goods'] = ''; |
300 | if($res_goods){ | 300 | if($res_goods){ |
-
请 注册 或 登录 后发表评论