From 445fd26c770a184fd6079e5577f55d31fac4234b Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 21 七月 2023 10:11:42 +0800
Subject: [PATCH] fix
---
api/v1/index.go | 2 +-
router/index.go | 4 ++--
model/response/response.go | 8 --------
model/serviceFollowup.go | 8 ++++++++
router/timelyRate.go | 3 ++-
5 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/api/v1/index.go b/api/v1/index.go
index 5866de6..7142d2e 100644
--- a/api/v1/index.go
+++ b/api/v1/index.go
@@ -5,6 +5,7 @@
)
type Group struct {
+ TimelyRateApi
BaseApi
JwtApi
ImageApi
@@ -50,7 +51,6 @@
DepartmentApi
VettingApi
SatisfactionApi
- TimelyRateApi
}
var ApiGroup = new(Group)
diff --git a/model/response/response.go b/model/response/response.go
index 3846070..61a502c 100644
--- a/model/response/response.go
+++ b/model/response/response.go
@@ -233,11 +233,3 @@
List []*model.TimelyRate `json:"list"`
}
)
-
-// 鍙婃椂鐜� 瑙e喅鐜� 婊℃剰搴� 鏈嶅姟浜哄憳鏄惁鏉ヨ繃 锛堟湇鍔″洖璁垮崟锛�
-// 宸ュ崟绫诲瀷 鎶ヤ慨鏉ユ簮锛堝伐鍗曠鐞嗭級
-// 鍚堝悓绫诲瀷 鍚堝悓鐘舵�侊紙鏈嶅姟鍚堝悓锛�
-// 浠樻鏂瑰紡 鏄惁寮�绁� 璐︽埛锛堥攢鍞��娆惧崟锛�
-// 閫�鍏ヤ粨搴� 鐘舵�侊紙閿�鍞��璐у崟锛�
-// 鎶ヤ环鍗曠姸鎬� 锛堟姤浠峰崟锛�
-// 鍙兘鎬� 甯佺 褰撳墠鐘舵�侊紙閿�鍞満浼氾級
diff --git a/model/serviceFollowup.go b/model/serviceFollowup.go
index 3d44828..9b15ae9 100644
--- a/model/serviceFollowup.go
+++ b/model/serviceFollowup.go
@@ -84,3 +84,11 @@
slf.Id = id
return slf
}
+
+// 鍙婃椂鐜� 瑙e喅鐜� 婊℃剰搴� 鏈嶅姟浜哄憳鏄惁鏉ヨ繃 锛堟湇鍔″洖璁垮崟锛�
+// 宸ュ崟绫诲瀷 鎶ヤ慨鏉ユ簮锛堝伐鍗曠鐞嗭級
+// 鍚堝悓绫诲瀷 鍚堝悓鐘舵�侊紙鏈嶅姟鍚堝悓锛�
+// 浠樻鏂瑰紡 鏄惁寮�绁� 璐︽埛锛堥攢鍞��娆惧崟锛�
+// 閫�鍏ヤ粨搴� 鐘舵�侊紙閿�鍞��璐у崟锛�
+// 鎶ヤ环鍗曠姸鎬� 锛堟姤浠峰崟锛�
+// 鍙兘鎬� 甯佺 褰撳墠鐘舵�侊紙閿�鍞満浼氾級
diff --git a/router/index.go b/router/index.go
index cd7916b..c23206c 100644
--- a/router/index.go
+++ b/router/index.go
@@ -11,6 +11,7 @@
)
type Group struct {
+ TimelyRateRouter
BaseRouter
UserRouter
JwtRouter
@@ -55,7 +56,6 @@
DataRouter
DepartmentRouter
SatisfactionRouter
- TimelyRateRouter
}
func InitRouter() *gin.Engine {
@@ -130,7 +130,7 @@
routerGroup.InitDataRouter(PrivateGroup) // 娉ㄥ唽data璺敱
routerGroup.InitDepartmentRouter(PrivateGroup) // 娉ㄥ唽department璺敱
routerGroup.InitSatisfactionRouter(PrivateGroup) // 娉ㄥ唽satisfaction璺敱
- routerGroup.InitTimelyRateRouter(PrivateGroup) // 娉ㄥ唽timelyRate璺敱
+ routerGroup.InitTimelyRateRouter(PrivateGroup)
}
return Router
}
diff --git a/router/timelyRate.go b/router/timelyRate.go
index bc1c063..05f7f73 100644
--- a/router/timelyRate.go
+++ b/router/timelyRate.go
@@ -1,3 +1,4 @@
+
package router
import (
@@ -16,4 +17,4 @@
timelyRateRouter.PUT("update", timelyRateApi.Update) // 鏇存柊閿�鍞樁娈�
timelyRateRouter.GET("list", timelyRateApi.List) // 鑾峰彇閿�鍞樁娈靛垪琛�
}
-}
+}
\ No newline at end of file
--
Gitblit v1.8.0