|
@@ -1690,9 +1690,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() {
|
|
@@ -1700,7 +1700,7 @@ func (this *ReportCommonController) ShareTransform() {
|
|
|
this.ServeJSON()
|
|
|
}()
|
|
|
|
|
|
- token := this.GetString("UrlToken")
|
|
|
+ token := this.GetString("Token")
|
|
|
|
|
|
link, msg, err := services.TransfromToOriginUrl(token)
|
|
|
if err != nil {
|