Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
func Download(ctx context.Context, c *app.RequestContext)
Download . @router /anonymous/download/:code [GET]
func GenerateCode ¶
func GenerateCode(ctx context.Context, c *app.RequestContext)
GenerateCode 上传文件时生成 6 位取件码(端到端:建 file_codes + 取件码映射)。 @router /anonymous/generate [POST]
func Retrieve ¶
func Retrieve(ctx context.Context, c *app.RequestContext)
Retrieve 按取件码取件(校验密码 + 扣减次数,DB 为准)。 @router /anonymous/retrieve [POST]
func SearchByCode ¶
func SearchByCode(ctx context.Context, c *app.RequestContext)
SearchByCode 按码查询分享信息(不下载、不扣次数)。 @router /anonymous/search/:code [GET]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.