From 1be2633ae1a1517b8e515551fd009228aa972c04 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 09 八月 2019 17:52:03 +0800 Subject: [PATCH] rm log --- controllers/fileController.go | 11 ----------- controllers/task.go | 2 +- 2 files changed, 1 insertions(+), 12 deletions(-) diff --git a/controllers/fileController.go b/controllers/fileController.go index 156ecb4..b1b1ba4 100644 --- a/controllers/fileController.go +++ b/controllers/fileController.go @@ -401,18 +401,7 @@ logger.Debug("comp 姣斿缁撴潫锛岀敤鏃讹細",time.Since(timeStart)) m := make(map[string]interface{},3) if totalData != nil && totalData.Len() > 0{ - //鎸夊垎鍊兼帓搴� - //var scorePre []float32 - //for _,f1 :=range *totalData { - // scorePre = append(scorePre, f1.CompareScore) - //} - //logger.Debug("comp 鎺掑簭鍓嶅垎鍊兼暟缁勶細",scorePre) sort.Sort(totalData) - //var scoreAf []float32 - //for _,f2 :=range *totalData { - // scoreAf = append(scoreAf, f2.CompareScore) - //} - //logger.Debug("comp 鎺掑簭鍚庡垎鍊兼暟缁勶細",scoreAf) total := totalData.Len() m["compareNum"] = compareOnce.CompareNum diff --git a/controllers/task.go b/controllers/task.go index 8366edc..ccd33ca 100644 --- a/controllers/task.go +++ b/controllers/task.go @@ -73,7 +73,7 @@ // @Param reqMap body controllers.TaskVo false "浠诲姟AAA" // @Success 200 {string} json "{"code":200, msg:"璇锋眰澶勭悊鎴愬姛",data:"",success:true}" // @Failure 500 {string} json "{"code":500, msg:"璇锋眰澶辫触",data:"",success:false}" -// @Router /data/api-v/task/add [POST] +// @Router /data/api-v/task/addTask [POST] func (tc TaskController) AddTask(c *gin.Context) { var task TaskVo var taskApi dbapi.TaskApi -- Gitblit v1.8.0