UPDATE_TRY_VERSION_MAX = 19 UPDATE_VERSION_MAX = 19 VerPath = { } VerMergePath = { } ----------------------- 公共函数 ---------- -- CDN_URL = "http://cdnres.jstm.xyhdbox.com" -- CDN_URL = "https://cdn.huanxiang.test.xyhdbox.com" CDN_URL = "http://register.test.xyhdbox.com" REG_URL = "http://register.test.xyhdbox.com" CDN_URL="http://cdn.demo.test.xyhdbox.com" CDN_PATH_BASE = CDN_URL.."/update/update_hzw_onepiece/" CDN_PATH_ANDROID = CDN_URL.."/update/update_hzw_onepiece/" CDN_PATH_IOS = CDN_URL.."/update/update_hzw_onepiece/" IS_FKXYR_CHANNEL = true --疯狂小野人渠道 URL_PATH_ALL = {} URL_PATH_ALL.demo = { update = CDN_URL.."/update/update_android_demo", register = CDN_URL } URL_PATH_ALL.onepiece = { update = CDN_URL.."/update/update_android_demo", register = CDN_URL } URL_PATH_ALL.get = function(platform) local data = URL_PATH_ALL[platform] or URL_PATH_ALL["other"] return data end function get_servers_url(account, platform, channelid, srvid, start, num) return string.format("http://game-use-onepiece.xyhdbox.com/server_list?srvid=%s", srvid or "") end function get_notice_url(days, loginData) return "http://game-use-onepiece.xyhdbox.com/get_login_notice" end require("cli_log")