正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -61,10 +61,10 @@ class AyrReleaseLogic extends BaseLogic | @@ -61,10 +61,10 @@ class AyrReleaseLogic extends BaseLogic | ||
| 61 | $imageModel = new Image(); | 61 | $imageModel = new Image(); |
| 62 | $list = $imageModel->list(['hash'=>['in',$images]],'id'); | 62 | $list = $imageModel->list(['hash'=>['in',$images]],'id'); |
| 63 | foreach ($list as $v1){ | 63 | foreach ($list as $v1){ |
| 64 | - $arr[] = url('/b/image/' . $v1['hash'].'/'.rand(10000,99999).'.'.$v1['type']); | 64 | + $arr[] = url('/b/image/' . $v1['hash'].'/'.$v1['type']); |
| 65 | } | 65 | } |
| 66 | }else{ | 66 | }else{ |
| 67 | - $arr[] = url('/b/file_hash/' . $v.'/'.rand(10000,99999).'.mp4'); | 67 | + $arr[] = url('/b/file_hash/' . $v.'/'.'.mp4'); |
| 68 | } | 68 | } |
| 69 | } | 69 | } |
| 70 | return $this->success($arr); | 70 | return $this->success($arr); |
-
请 注册 或 登录 后发表评论