|
@@ -191,10 +191,10 @@ func (stdDoc *StdDoc) GetDoc(sign string) {
|
|
|
}
|
|
|
fileId := detail.OssPdfId
|
|
|
if sign == "Down" {
|
|
|
+ fileId = detail.OssDocId
|
|
|
if b, _ := redis.Exists(public.RedisCode, fmt.Sprintf("file_upload_ing_%s", fileId)); b {
|
|
|
return nil, fmt.Errorf("文档正在上传中,请稍后再试")
|
|
|
}
|
|
|
- fileId = detail.OssDocId
|
|
|
}
|
|
|
url, err := rpc.GetFileContext(userId, fileId)
|
|
|
if err != nil {
|