代码调整

This commit is contained in:
2026-09-21 17:14:20 +08:00
parent cc15991169
commit 3dcf6930d6
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ type AppVersionResp struct {
func VersionThreeServer(curVersion, sysType, buildID, packageName string) (resp AppVersionResp, err error) { func VersionThreeServer(curVersion, sysType, buildID, packageName string) (resp AppVersionResp, err error) {
req := AppVersionReq{ req := AppVersionReq{
AppId: 3, AppId: 4,
PktType: PacketTypeEnterprise, PktType: PacketTypeEnterprise,
SysType: sysType, SysType: sysType,
CurVersion: curVersion, CurVersion: curVersion,
+1 -1
View File
@@ -122,7 +122,7 @@ func (ad AdDetailInfo) GetAdvertiseType() int {
} }
// advertiseAppId 广告中心应用ID // advertiseAppId 广告中心应用ID
const advertiseAppId int32 = 3 const advertiseAppId int32 = 4
type advertiseClickReq struct { type advertiseClickReq struct {
Id int64 `json:"id"` // 广告id Id int64 `json:"id"` // 广告id
+1 -1
View File
@@ -23,7 +23,7 @@ type PayTypeParam struct {
} }
// BillPlatformID 账单中心平台标识 // BillPlatformID 账单中心平台标识
const BillPlatformID = "91fans" const BillPlatformID = "糖果短剧"
// billDevType 账单中心设备类型,非android按ios处理 // billDevType 账单中心设备类型,非android按ios处理
func billDevType(devType string) string { func billDevType(devType string) string {
+9 -9
View File
@@ -1,15 +1,15 @@
package models package models
const ( const (
ESInfoVideoTable = "91fans_video_info" ESInfoVideoTable = "tangguo_video_info"
ESMediaTable = "91fans_media_info" ESMediaTable = "tangguo_media_info"
ESInfoTagTable = "91fans_tag_info" ESInfoTagTable = "tangguo_tag_info"
ESInfoUserTable = "91fans_user_info" ESInfoUserTable = "tangguo_user_info"
ESInfoLouFengTable = "91fans_loufeng_info" ESInfoLouFengTable = "tangguo_loufeng_info"
ESInfoFictionTable = "91fans_fiction_info" ESInfoFictionTable = "tangguo_fiction_info"
ESInfoAudioBookTable = "91fans_audiobook" ESInfoAudioBookTable = "tangguo_audiobook"
ESLogSearchLogTable = "91fans_search_log" ESLogSearchLogTable = "tangguo_search_log"
ESStatKeywordTable = "91fans_keyword_stat" ESStatKeywordTable = "tangguo_keyword_stat"
) )
+1 -1
View File
@@ -21,7 +21,7 @@ import (
// 数据中心同步协议(与哔哩 statcenter 第三版协议保持一致) // 数据中心同步协议(与哔哩 statcenter 第三版协议保持一致)
// statAppId 数据中心同步使用的应用ID // statAppId 数据中心同步使用的应用ID
const statAppId int32 = 3 const statAppId int32 = 4
type StatJob string type StatJob string