sync: port tangguo_server upstream changes
Ported 7 commits (3a79d6a..3dcf693) from tangguo_server: - 版本控制: comment out 2FA in admin.go - 支付和广告调试: pay/ad refactor across appg/adser/rechargeser/pingctrl - 对接统计: add bili_sync statistics endpoint - 代码优化: ginUtil improvements - 修改es/修改appID/代码调整: cumulative updates Preserved hgmj-local differences: - ES table prefix stays 91jd_ (not tangguo_) - BillPlatformID stays 91短剧 (not 糖果短剧) - admin googauth label stays @91短剧 - appg.go retains LouFengH5/DataBuriedPoint fields - rechargeser.go retains reportser event reporting Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,11 @@ import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// statcenterRouter 数据中心拉取同步数据(协议与哔哩 /api/web/statcenter/sync 一致)
|
||||
func statcenterRouter(router *gin.RouterGroup) {
|
||||
router.POST("/sync", statcenterctl.StatcenterSyncList)
|
||||
}
|
||||
|
||||
// syncRouter 数据同步
|
||||
func syncRouter(router *gin.RouterGroup) {
|
||||
routerGroup := router.Group("/router")
|
||||
|
||||
Reference in New Issue
Block a user