This commit is contained in:
苏尹岚
2021-04-01 16:26:15 +08:00
parent f9ff953e0a
commit a33fa55f8c
4 changed files with 26 additions and 8 deletions

View File

@@ -550,3 +550,16 @@ func (c *JobController) TempJob() {
return retVal, "", err
})
}
// @Title 分享联盟链接
// @Description 分享联盟链接
// @Param token header string true "认证token"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /ShareUnionLink [post]
func (c *JobController) ShareUnionLink() {
c.callShareUnionLink(func(params *tJobShareUnionLinkParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.ShareUnionLink(params.Ctx, 1, 1)
return retVal, "", err
})
}