正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
@@ -119,8 +119,8 @@ class Brand extends Api | @@ -119,8 +119,8 @@ class Brand extends Api | ||
119 | $res = Common::findSoftWhereData('btype',['id'=>$b_id],'createtime,updatetime,deletetime',true); | 119 | $res = Common::findSoftWhereData('btype',['id'=>$b_id],'createtime,updatetime,deletetime',true); |
120 | if($res){ | 120 | if($res){ |
121 | $res['image'] = $this->auth->absolutionUrlOne($res['image']); | 121 | $res['image'] = $this->auth->absolutionUrlOne($res['image']); |
122 | - $res['file'] = $this->auth->absolutionUrlOne($res['file']); | ||
123 | $res['file_cover'] = $this->auth->absolutionUrlOneFrame($res['file'],1); | 122 | $res['file_cover'] = $this->auth->absolutionUrlOneFrame($res['file'],1); |
123 | + $res['file'] = $this->auth->absolutionUrlOne($res['file']); | ||
124 | $res['image_long'] = $this->auth->absolutionUrlOne($res['image_long']); | 124 | $res['image_long'] = $this->auth->absolutionUrlOne($res['image_long']); |
125 | $res['tag'] = explode('|',$res['tag']); | 125 | $res['tag'] = explode('|',$res['tag']); |
126 | } | 126 | } |
@@ -96,12 +96,12 @@ class Goods extends Api | @@ -96,12 +96,12 @@ class Goods extends Api | ||
96 | $res['image'] = $this->auth->absolutionUrlOne($res['image']); | 96 | $res['image'] = $this->auth->absolutionUrlOne($res['image']); |
97 | $res['images'] = $this->auth->absolutionUrl($res['images']); | 97 | $res['images'] = $this->auth->absolutionUrl($res['images']); |
98 | if(!empty($res['file'])){ | 98 | if(!empty($res['file'])){ |
99 | - $res['file'] = [ | ||
100 | - $this->auth->absolutionUrlOne($res['file']) | ||
101 | - ]; | ||
102 | $res['file_cover'] = [ | 99 | $res['file_cover'] = [ |
103 | $this->auth->absolutionUrlOneFrame($res['file'],1) | 100 | $this->auth->absolutionUrlOneFrame($res['file'],1) |
104 | ]; | 101 | ]; |
102 | + $res['file'] = [ | ||
103 | + $this->auth->absolutionUrlOne($res['file']) | ||
104 | + ]; | ||
105 | }else{ | 105 | }else{ |
106 | $res['file'] = []; | 106 | $res['file'] = []; |
107 | $res['file_cover'] = []; | 107 | $res['file_cover'] = []; |
-
请 注册 或 登录 后发表评论