开发者社区> 问答> 正文

我这边使用智能媒体管理weboffice sdk预览,权限设置了允许copy 和水印 但是都没生效?

我这边使用智能媒体管理weboffice sdk预览,权限设置了允许copy 和水印 但是都没生效?
api:com.aliyun.imm20200930.Client#generateWebofficeTokenWithOptions
入参:{"cachePreview":true,"hidecmb":true,"permission":{"copy":true,"export":false,"history":false,"print":false,"readonly":true,"rename":false},"projectName":"smart-assist","sourceURI":"oss://smart-assist/rag_doc/xmjxqwi/1722580907177上传3.doc","watermark":{"type":1,"value":"smart-assist"}}
出参:{"body":{"accessToken":"d83ba0c1d4f543768cf05014a19e3ef3v3","accessTokenExpiredTime":"2024-08-07T08:57:18.17180097Z","refreshToken":"3dcffd8a3a4c420cbc13787e10db1682v3","refreshTokenExpiredTime":"2024-08-08T08:27:18.17180097Z","requestId":"18B8F10C-7D74-5418-922D-3E1E4214D621","webofficeURL":"https://office-cn-hangzhou.imm.aliyuncs.com/office/w/949802ea84d347abd145478dbd7feb231498b7ba?_w_tokentype=1&hidecmb=1&simple=1&cache_preview=1"},"headers":{"access-control-allow-origin":"*","date":"Wed, 07 Aug 2024 08:27:18 GMT","content-length":"431","keep-alive":"timeout=25","x-acs-request-id":"18B8F10C-7D74-5418-922D-3E1E4214D621","connection":"keep-alive","content-type":"application/json;charset=utf-8","etag":"4DBWL13mxhGNnR5GXs7phOw1","access-control-expose-headers":"*","x-acs-trace-id":"a599ce5c4b030e568c9fa152ebbc8c44"},"statusCode":200} 帮忙什么问题导致的?

展开
收起
真的很搞笑 2024-08-14 18:22:29 28 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
从 SDK 到编解码:视频直播架构解析 立即下载
跨平台的云服务SDK需要什么 立即下载
一个跨平台的云服务SDK需要什么 立即下载