作者 lyh

gx

@@ -42,10 +42,10 @@ class TaskLogic extends BaseLogic @@ -42,10 +42,10 @@ class TaskLogic extends BaseLogic
42 $this->fail('error'); 42 $this->fail('error');
43 } 43 }
44 if(!empty($info['attachment'])){ 44 if(!empty($info['attachment'])){
45 - $info = getFileUrl($info); 45 + $info['attachment'] = getFileUrl($info['attachment']);
46 } 46 }
47 if(!empty($info['follow']['attachment'])){ 47 if(!empty($info['follow']['attachment'])){
48 - $info['follow']['follow'] = getFileUrl($info['follow']); 48 + $info['follow']['follow'] = getFileUrl($info['follow']['attachment']);
49 } 49 }
50 return $this->success($info); 50 return $this->success($info);
51 } 51 }