feat: 添加租后须知功能并优化发布默认设置
新增功能: - 添加租后须知查看功能(PC端+移动端) - 管理后台支持配置租后须知内容 - 默认提供完整的租后须知模板 功能实现: - 后端:新增 PostRentalNotice API 接口和配置管理 - PC端:在用户下拉菜单添加租后须知入口,独立页面展示 - 移动端:在个人中心实名认证下方添加入口,弹窗展示 - 管理端:新增租后须知配置弹窗,支持编辑和恢复默认 优化改进: - 修复发布页面默认选中"参考比例"而非"自定比例" - 移除错误的迁移测试脚本(与 MySQL 8.0 不兼容) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -196,6 +196,7 @@ func New(cfg config.Config, deps Dependencies, logger *zap.Logger) *gin.Engine {
|
||||
api.GET("/listing-publish-options", systemConfigHandler.PublishOptions)
|
||||
api.GET("/listing-sale-price-config", systemConfigHandler.SalePriceConfig)
|
||||
api.GET("/order-agreements", systemConfigHandler.OrderAgreements)
|
||||
api.GET("/post-rental-notice", systemConfigHandler.PostRentalNotice)
|
||||
api.GET("/home-announcements", systemConfigHandler.HomeAnnouncements)
|
||||
api.GET("/mobile-home-config", systemConfigHandler.HomeConfig)
|
||||
api.GET("/public/files/object", fileHandler.PublicObject)
|
||||
|
||||
Reference in New Issue
Block a user