Browse Source

提交代码。修改URL

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1036/head
zouap 3 years ago
parent
commit
abaf4db661
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      routers/private/tool.go

+ 2
- 1
routers/private/tool.go View File

@@ -5,7 +5,6 @@
package private package private


import ( import (
"fmt"
"net/http" "net/http"


"code.gitea.io/gitea/models" "code.gitea.io/gitea/models"
@@ -46,6 +45,7 @@ func RepoStatisticManually(ctx *macaron.Context) {
repo.TimingCountDataByDate(date) repo.TimingCountDataByDate(date)
} }


/*
func CreateModel(ctx *macaron.Context) { func CreateModel(ctx *macaron.Context) {
JobId := ctx.Query("JobId") JobId := ctx.Query("JobId")
VersionName := ctx.Query("VersionName") VersionName := ctx.Query("VersionName")
@@ -88,3 +88,4 @@ func ModifyModel(ctx *macaron.Context) {
ctx.JSON(500, "Failed.") ctx.JSON(500, "Failed.")
} }
} }
*/

Loading…
Cancel
Save