对齐 web_huangguo2 的四项改造

- 广告获取改走 versionUrl /api/stat/advitise/v2/get(appId=12),移除 adcenter(Jt)
  调用;新增 /api/app/ads/click 异步上报点击;proto.AdvitiseData 别名为
  proxy.AdvitiseData,AList/BList 字段改名 AppInfoAList/AppInfoBList。
- web 后台登录取消谷歌验证码(srv_mwacc.AccLogin 去掉 code 参数),密码正确即
  发放 token。
- app 端取消注册/登录/找回密码/游客登录接口及密码、token 相关代码;鉴权中间件
  不再校验 token,按 X-User-Agent 中的 devID 识别用户,首次访问自动建号,
  Redis 缓存 10 分钟;修改资料不再支持改密码。
- app m3u8 ticket 校验失败不再降级到 fallback 路径,仍按原 m3u8Name 返回。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-11-07 11:13:55 +08:00
co-authored by Claude Opus 4.7
parent 2a42621d8e
commit fcc492f1e1
18 changed files with 374 additions and 864 deletions
+2 -2
View File
@@ -124,7 +124,7 @@ func UpdateAppListCache(ctx context.Context) {
}
// 广告位 A(code=12)
if category.Code == 12 {
for _, ad := range advitise.AList {
for _, ad := range advitise.AppInfoAList {
apps = append(apps, proto.AppInfoData{
AdvitiseId: ad.Id,
CategoryId: category.Id,
@@ -137,7 +137,7 @@ func UpdateAppListCache(ctx context.Context) {
}
// 广告位 B(code=13)
if category.Code == 13 {
for _, ad := range advitise.BList {
for _, ad := range advitise.AppInfoBList {
apps = append(apps, proto.AppInfoData{
AdvitiseId: ad.Id,
CategoryId: category.Id,