新增广告V2模块,双端下载落地页调整

- 新增 advitise v2: info/location/bind/click-stat/day-click-stat 模型与
  对应的 service、api、router、proto 定义
- models/index.go 注册 5 个新模型的索引初始化
- 鉴权白名单: /rsdownload/ 改为 /download/,放行 advitise v2 的
  get/click 接口
- statg/config: proxyUrl 增加 fileRes1
- common/genId: lid 生成逻辑补充
- 新增 91fans / huangguo 的 mobileconfig 描述文件
- 新增 deploy/nginx/cpcdownload.mfcg.me.conf 网关配置

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-22 16:53:23 +08:00
co-authored by Claude Opus 5
parent bc605f303d
commit 01d9f7bc86
40 changed files with 2561 additions and 30 deletions
+2 -1
View File
@@ -103,10 +103,11 @@ func registerRouter(router *gin.Engine) {
applicationRouter(rootRouter) // 配置app应用
appcategoryRouter(rootRouter) // app分类
userInviteRouter(rootRouter) // 兼容
advitiseV2Router(rootRouter) // 广告管理V2(素材/位置/绑定)
}
// 双端下载落地页(无需登陆鉴权)
router.GET("/rsdownload/:appId/:channel", versionApi.CpcDownload)
router.GET("/download/:appId/:channel", versionApi.CpcDownload)
}
func setGinSwagger(router *gin.Engine) {