2025-09-23 15:09:18 +08:00

104 lines
4.2 KiB
Dart

class KtApis {
static const String baseUrl = "https://api-csjiuxi.csjiuxi.com/kinet";
// static const String baseUrl = "https://test1-api.guyantv.com";
// static const String baseUrl = "https://api-pdaroll.pdaroll.com/panda";
static const String homeAllModules = "/home/all-modules";
static const String newShortPlay = "/newShortPlay";
static const String homeVideoList = "/videoList";
static const String getCategories = "/getCategories";
static const String searchHot = "/search/hots";
static const String search = "/search";
static const String getVideoDetails = "/getVideoDetails";
static const String getRecommands = "/getRecommands";
static const String getMyHistoryList = "/myHistorys";
static const String getMyCollections = "/myCollections";
static const String collectVideo = "/collect";
static const String deleteFavoriteVideo = "/cancelCollect";
static const String getDetailsRecommand = "/getDetailsRecommand";
static const String getRevolutions = "/getRevolutions";
// 播放上报
static const String uploadHistorySeconds = "/uploadHistorySeconds";
static const String createHistory = "/createHistory";
static const String uploadW2a = "/w2aSelfAttribution";
static const String activeAfterWatchingVideo = "/activeAfterWatchingVideo";
static String W2A_PREFIX = "[QJ]";
static String W2A_NAME = "pandaloom";
static String adjustToken = "z44550428xz4";
// 用户
static const String signOut = "/customer/signout";
static const String logOff = "/customer/logoff";
static const String login = "/customer/login";
static const String getCustomerInfo = "/customer/info";
static const String register = "/customer/register";
static const String uploadNoticeStatus = "/customer/uploadNoticeStatus";
static const String onLine = "/customer/onLine"; //在线用户统计(10分钟1次)
static const String enterTheApp = "/customer/enterTheApp";
static const String leaveApp = "/customer/leaveApp";
static const String getNoticeNum = "/noticeNum";
static const String sendMessageReport = "/message/sendReport";
static const String reportFirebaseToken = "/customer/firebaseToken";
static const String reportEvent = "/event/add";
// 商品和购买
static const String paySettingsV3 = "/paySettingsV3";
static const String paySettingsV4 = "/paySettingsV4";
static const String getVipPaySetting = "/getVipPaySetting";
static const String createOrder = "/createOrder";
static const String createApplePay = "/applePaid";
static const String createGooglePay = "/googlePaid";
static const String buyVideo = "/buy_video";
static const String openNotify = "/openNotify";
///钱包
static const String getCustomerOrder = "/getCustomerOrder";
static const String getCustomerBuyRecords = "/getCustomerBuyRecords";
static const String getSendCoinList = "/sendCoinList";
///官网
static String WEB_SITE_INDEX = "https://www.csjiuxi.com/";
///隐私
static String WEB_SITE_PRIVATE = "${WEB_SITE_INDEX}private";
///用户
static String WEB_SITE_POLICY = "${WEB_SITE_INDEX}user_policy";
///儿童个人信息保护规则
static String WEB_SITE_INFO_PROTECT =
"${WEB_SITE_INDEX}information_protection";
///第三方共享清单
static String WEB_SITE_INFO_SHARE = "${WEB_SITE_INDEX}information_sharing";
///收集个人信息明示清单
static String WEB_SITE_PERSONAL_INFO_DISCLOSURE =
"${WEB_SITE_INDEX}persoInfor_disclosure";
///青少年互联网文明公约
static String WEB_SITE_CIVIZ = "${WEB_SITE_INDEX}civizatio_convention";
static String WEB_SITE_HOST = "https://campaign.csjiuxi.com/";
static String WEB_SITE_ACTIVITY = "${WEB_SITE_HOST}pages/reward/theme3";
///反馈首页
static String WEB_SITE_FEEDBACK = "${WEB_SITE_HOST}pages/leave/index";
///反馈列表
static String WEB_SITE_FEEDBACK_LIST = "${WEB_SITE_HOST}pages/leave/list";
///反馈详情
static String WEB_SITE_FEEDBACK_DETAIL = "${WEB_SITE_HOST}pages/leave/detail";
///钱包
static String WEB_SITE_WALLET = "${WEB_SITE_HOST}pages/order/kinetra";
///搜索
static String WEB_SITE_SEARCH = "${WEB_SITE_HOST}pages/search/kinetra";
/// w2a
static String WEB_2_APP_INDEX = "https://w2a.csjiuxi.com/";
}