Documentation
¶
Index ¶
Constants ¶
View Source
const ( CloudDiskOnDel = iota + 1 CloudDiskDelErr CloudDiskDelSuccess )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DelAreaStatus ¶ added in v1.9.1
type DelAreaStatus struct {
RemoveStatus int `json:"remove_status"`
}
type DelCloudDiskResp ¶ added in v1.9.1
type DelCloudDiskResp struct { Status int `json:"status"` Reason string `json:"reason"` Data DelAreaStatus `json:"data"` }
func DelAreaCloudDisk ¶
func DelAreaCloudDisk(c *gin.Context, isDelCloudDiskFile bool, areaID uint64) (result DelCloudDiskResp, err error)
DelAreaCloudDisk 删除家庭的网盘资源 isDelCloudDiskFile 是表示是否删除网盘文件,不管删不删除文件,一定会删除网盘记录
func DelCloudDisk ¶
func DelCloudDisk(accessToken string, isDelCloudDiskFile bool, areaID uint64) (result DelCloudDiskResp, err error)
DelCloudDisk 删除网盘资源
Click to show internal directories.
Click to hide internal directories.