This commit is contained in:
2024-09-04 16:08:39 +08:00
parent 554e2a7b92
commit 8838b12415
5 changed files with 92 additions and 1 deletions
+4 -1
View File
@@ -150,7 +150,7 @@ func privateRouter(r *gin.Engine, api controller.Api) {
agreementGroup := basicGroup.Group("/agreement")
{
// 获取协议列表-分页
agreementGroup.POST("/page", api.BaseAgreement.GetBaseAgreementPage)
agreementGroup.GET("/page", api.BaseAgreement.GetBaseAgreementPage)
// 获取协议详情
agreementGroup.GET("/:agreement_id", api.BaseAgreement.GetBaseAgreement)
@@ -201,6 +201,9 @@ func privateRouter(r *gin.Engine, api controller.Api) {
{
// 获取投票时间详情
timeGroup.GET("/:system_time_id", api.System.GetSystemTime)
// 修改投票时间
timeGroup.PUT("/:system_time_id", api.System.PutSystemTime)
}
}
}