1
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user