作者 lyh

gx

... ... @@ -43,9 +43,11 @@ class TaskLogic extends BaseLogic
}
if(!empty($info['attachment'])){
$info['attachment'] = getFileUrl($info['attachment']);
$info['attachment_name'] = basename($info['attachment']);
}
if(!empty($info['follow']['attachment'])){
$info['follow']['follow'] = getFileUrl($info['follow']['attachment']);
$info['follow']['attachment'] = getFileUrl($info['follow']['attachment']);
$info['follow']['attachment_name'] = basename($info['follow']['attachment']);
}
return $this->success($info);
}
... ...