作者 lyh

gx

@@ -43,9 +43,11 @@ class TaskLogic extends BaseLogic @@ -43,9 +43,11 @@ class TaskLogic extends BaseLogic
43 } 43 }
44 if(!empty($info['attachment'])){ 44 if(!empty($info['attachment'])){
45 $info['attachment'] = getFileUrl($info['attachment']); 45 $info['attachment'] = getFileUrl($info['attachment']);
  46 + $info['attachment_name'] = basename($info['attachment']);
46 } 47 }
47 if(!empty($info['follow']['attachment'])){ 48 if(!empty($info['follow']['attachment'])){
48 - $info['follow']['follow'] = getFileUrl($info['follow']['attachment']); 49 + $info['follow']['attachment'] = getFileUrl($info['follow']['attachment']);
  50 + $info['follow']['attachment_name'] = basename($info['follow']['attachment']);
49 } 51 }
50 return $this->success($info); 52 return $this->success($info);
51 } 53 }