我这边使用智能媒体管理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} 帮忙什么问题导致的?
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。