|
|
@@ -341,21 +341,21 @@ func rFinancialCenter(r *gin.RouterGroup) { |
|
|
|
func rFriendCircleSettings(r *gin.RouterGroup) { |
|
|
|
rBasic := r.Group("/basic") |
|
|
|
{ |
|
|
|
rBasic.GET("/index", friend_circle.GetFriendCircleBasicSettings) |
|
|
|
rBasic.POST("/save", friend_circle.UpdateFriendCircleBasicSettings) |
|
|
|
rBasic.GET("/index", friend_circle.GetFriendCircleBasicSettings) // 获取动态基础设置 |
|
|
|
rBasic.POST("/save", friend_circle.UpdateFriendCircleBasicSettings) // 更新动态设置 |
|
|
|
} |
|
|
|
rBlackList := r.Group("/blackList") |
|
|
|
{ |
|
|
|
rBlackList.GET("/index", friend_circle.GetBlackList) |
|
|
|
rBlackList.POST("/add", friend_circle.AddBlackList) |
|
|
|
rBlackList.DELETE("/del", friend_circle.DeleteBlackList) |
|
|
|
rBlackList.GET("/index", friend_circle.GetBlackList) // 获取黑名单 |
|
|
|
rBlackList.POST("/add", friend_circle.AddBlackList) // 添加黑名单 |
|
|
|
rBlackList.DELETE("/del", friend_circle.DeleteBlackList) // 删除黑名单 |
|
|
|
} |
|
|
|
rDynamic := r.Group("/dynamic") |
|
|
|
{ |
|
|
|
rDynamic.POST("/index", friend_circle.GetDynamic) |
|
|
|
rDynamic.POST("/update", friend_circle.UpdateDynamic) |
|
|
|
rDynamic.DELETE("/del", friend_circle.DeleteDynamic) |
|
|
|
rDynamic.POST("/release", friend_circle.ReleaseDynamic) |
|
|
|
rDynamic.POST("/index", friend_circle.GetDynamic) // 获取动态列表 |
|
|
|
rDynamic.POST("/update", friend_circle.UpdateDynamic) // 更新动态 |
|
|
|
rDynamic.DELETE("/del", friend_circle.DeleteDynamic) // 删除动态 |
|
|
|
rDynamic.POST("/release", friend_circle.ReleaseDynamic) // 发布动态 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|