|
@@ -2027,9 +2027,9 @@ func (this *ReportCommonController) ShareGenerate() {
|
|
|
// ShareTransform
|
|
|
// @Title 获取原始链接
|
|
|
// @Description 获取原始链接
|
|
|
-// @Param UrlToken query string true "复制链接的token"
|
|
|
+// @Param Token query string true "复制链接的token"
|
|
|
// @Success 200 Ret=200 操作成功
|
|
|
-// @router /share/transform [get]
|
|
|
+// @router /share/link [get]
|
|
|
func (this *ReportCommonController) ShareTransform() {
|
|
|
br := new(models.BaseResponse).Init()
|
|
|
defer func() {
|
|
@@ -2037,7 +2037,7 @@ func (this *ReportCommonController) ShareTransform() {
|
|
|
this.ServeJSON()
|
|
|
}()
|
|
|
|
|
|
- token := this.GetString("UrlToken")
|
|
|
+ token := this.GetString("Token")
|
|
|
|
|
|
link, msg, err := services.TransfromToOriginUrl(token)
|
|
|
if err != nil {
|