package constants import "time" // Version 应用版本号,与 wails.json version 同步。 const Version = "0.0.3" const ( ManualID = "G4KA4Qnz4LDp7" RoomID = "9263298" ActAlias = "20260120QYOOB" BaseURL = "https://www.douyu.com" ShopReferer = BaseURL + "/pages/live-peace-handbook/web/shop?ditchname=pass0&roomId=" + RoomID DefaultTimeAPI = BaseURL + "/wgapi/ordnc/activity/peace/storedetail?manualID=" + ManualID + "&commodityID=20260120QYOOB_bag274&rid=" + RoomID StoreHomeURL = BaseURL + "/wgapi/ordnc/activity/peace/storehome?manualID=" + ManualID + "&rid=" + RoomID CSRFURL = BaseURL + "/japi/carnival/nc/common/generateCsrf" BatchLimitURL = BaseURL + "/wgapi/ordnc/activity/peace/batchExchangeLimit" PreExchangeURL = BaseURL + "/wgapi/ordnc/activity/peace/preExchange" ExchangeURL = BaseURL + "/wgapi/ordnc/activity/peace/exchange" ExchangeListURL = BaseURL + "/wgapi/ordnc/activity/peace/exchangeList?manualID=" + ManualID + "&limit=50&offset=0" BindInfoURL = BaseURL + "/japi/carnivalApi/v2/tencent/bindInfo?actAlias=" + ActAlias ScoreURL = BaseURL + "/japi/oms/web/peace/credit/balance" UserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36" DefaultAttempts = 1 DefaultConcurrency = 80 ProductCacheTTL = 30 * time.Second DefaultConfigFile = "config.json" DefaultAccountFile = "data/user.txt" DefaultLogDir = "logs" DefaultSuccessDir = "success_images" ) // CST 中国标准时间 UTC+8。 var CST = time.FixedZone("CST", 8*3600)