From 3dcf6930d601d7d60b118a73ee1ccb17a0ba2d41 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 21 Sep 2026 17:14:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/pingctrl/version.go | 2 +- app/service/adser/jtAdvertise.go | 2 +- common/rchgutil/bill.go | 2 +- models/esTable.go | 18 +++++++++--------- web/api/statcenterctl/bili_sync.go | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/api/pingctrl/version.go b/app/api/pingctrl/version.go index 5425835..b80dcd0 100644 --- a/app/api/pingctrl/version.go +++ b/app/api/pingctrl/version.go @@ -38,7 +38,7 @@ type AppVersionResp struct { func VersionThreeServer(curVersion, sysType, buildID, packageName string) (resp AppVersionResp, err error) { req := AppVersionReq{ - AppId: 3, + AppId: 4, PktType: PacketTypeEnterprise, SysType: sysType, CurVersion: curVersion, diff --git a/app/service/adser/jtAdvertise.go b/app/service/adser/jtAdvertise.go index 19a40e4..7d5f4e8 100644 --- a/app/service/adser/jtAdvertise.go +++ b/app/service/adser/jtAdvertise.go @@ -122,7 +122,7 @@ func (ad AdDetailInfo) GetAdvertiseType() int { } // advertiseAppId 广告中心应用ID -const advertiseAppId int32 = 3 +const advertiseAppId int32 = 4 type advertiseClickReq struct { Id int64 `json:"id"` // 广告id diff --git a/common/rchgutil/bill.go b/common/rchgutil/bill.go index 59dbdf1..dc24d67 100644 --- a/common/rchgutil/bill.go +++ b/common/rchgutil/bill.go @@ -23,7 +23,7 @@ type PayTypeParam struct { } // BillPlatformID 账单中心平台标识 -const BillPlatformID = "91fans" +const BillPlatformID = "糖果短剧" // billDevType 账单中心设备类型,非android按ios处理 func billDevType(devType string) string { diff --git a/models/esTable.go b/models/esTable.go index 694914f..e34c73d 100644 --- a/models/esTable.go +++ b/models/esTable.go @@ -1,15 +1,15 @@ package models const ( - ESInfoVideoTable = "91fans_video_info" - ESMediaTable = "91fans_media_info" - ESInfoTagTable = "91fans_tag_info" - ESInfoUserTable = "91fans_user_info" - ESInfoLouFengTable = "91fans_loufeng_info" - ESInfoFictionTable = "91fans_fiction_info" - ESInfoAudioBookTable = "91fans_audiobook" + ESInfoVideoTable = "tangguo_video_info" + ESMediaTable = "tangguo_media_info" + ESInfoTagTable = "tangguo_tag_info" + ESInfoUserTable = "tangguo_user_info" + ESInfoLouFengTable = "tangguo_loufeng_info" + ESInfoFictionTable = "tangguo_fiction_info" + ESInfoAudioBookTable = "tangguo_audiobook" - ESLogSearchLogTable = "91fans_search_log" + ESLogSearchLogTable = "tangguo_search_log" - ESStatKeywordTable = "91fans_keyword_stat" + ESStatKeywordTable = "tangguo_keyword_stat" ) diff --git a/web/api/statcenterctl/bili_sync.go b/web/api/statcenterctl/bili_sync.go index 9549990..7ca59cd 100644 --- a/web/api/statcenterctl/bili_sync.go +++ b/web/api/statcenterctl/bili_sync.go @@ -21,7 +21,7 @@ import ( // 数据中心同步协议(与哔哩 statcenter 第三版协议保持一致) // statAppId 数据中心同步使用的应用ID -const statAppId int32 = 3 +const statAppId int32 = 4 type StatJob string