forked from all_user/stat_center
新增广告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:
@@ -22,7 +22,7 @@ import (
|
||||
// @Success 200 {file} file "ios返回mobileconfig文件"
|
||||
// @Success 302 {string} string "android跳转下载地址"
|
||||
// @Failure 400 {string} string "失败"
|
||||
// @Router /rsdownload/{appId}/{channel} [get]
|
||||
// @Router /download/{appId}/{channel} [get]
|
||||
func CpcDownload(ctx *gin.Context) {
|
||||
// 第一个参数 appId
|
||||
appId, err := strconv.Atoi(ctx.Param("appId"))
|
||||
|
||||
Reference in New Issue
Block a user