|
@@ -206,7 +206,7 @@ func (stdDoc *StdDoc) GetDoc(sign string) {
|
|
|
}
|
|
|
}
|
|
|
domain := config.JyDocsAppConfig.OssBucket.Std
|
|
|
- if detail.Source == public.SourceDd {
|
|
|
+ if detail.Source == int64(public.SourceDd) {
|
|
|
domain = config.JyDocsAppConfig.OssBucket.Docin
|
|
|
}
|
|
|
url, err := rpc.GetFileContext(userId, fileId, domain)
|