Documentation ¶
Index ¶
- type Callback
- type DocxLink
- type OnlyController
- func (c *OnlyController) AddOnlyAttachment()
- func (c *OnlyController) Addpermission()
- func (c *OnlyController) DeleteDoc()
- func (c *OnlyController) Download()
- func (c *OnlyController) DownloadDoc()
- func (c *OnlyController) Get()
- func (c *OnlyController) GetData()
- func (c *OnlyController) Getpermission()
- func (c *OnlyController) OnlyOffice()
- func (c *OnlyController) UpdateDoc()
- func (c *OnlyController) UrltoCallback()
- type OnlyLink
- type Onlyoffice1
- type Rolepermission
- type User1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
type Callback struct { Key string `json:"key"` Status int `json:"status"` Url string `json:"url"` Changesurl string `json:"changesurl"` History history1 `json:"history"` Users []string `json:"users"` Actions []action `json:"actions"` Lastsave time.Time `json:"lastsave"` Notmodified bool `json:"notmodified"` }
type OnlyController ¶
type OnlyController struct {
beego.Controller
}
func (*OnlyController) AddOnlyAttachment ¶
func (c *OnlyController) AddOnlyAttachment()
批量添加一对一模式 要避免同名覆盖的严重bug!!!!
func (*OnlyController) Addpermission ¶
func (c *OnlyController) Addpermission()
onlyoffice权限管理 添加用户和角色的权限 先删除这个文档id下所有permission,再添加新的。
func (*OnlyController) DeleteDoc ¶
func (c *OnlyController) DeleteDoc()
删除成果,包含成果里的附件。删除附件用attachment中的
func (*OnlyController) Getpermission ¶
func (c *OnlyController) Getpermission()
查询一个文档,哪些用户和角色拥有什么样的权限 用casbin的内置方法,不应该用查询数据库方法
func (*OnlyController) UrltoCallback ¶
func (c *OnlyController) UrltoCallback()
协作页面的保存和回调 关闭浏览器标签后获取最新文档保存到文件夹
type Onlyoffice1 ¶
Click to show internal directories.
Click to hide internal directories.