53 lines
1.8 KiB
Dart
53 lines
1.8 KiB
Dart
|
|
// https://api-glimzodf.glimzodf.com/glimzodf/
|
|
|
|
class ApiString {
|
|
static const String baseUrl = "https://api-glimzodf.glimzodf.com/";
|
|
|
|
static const String appName = 'Novyronst';
|
|
|
|
static String webPrefix = "glimzodf.com";
|
|
|
|
static String webIndex = "https://$webPrefix";
|
|
|
|
static String webPrivacy = "https://$webPrefix/private";
|
|
|
|
static String webAgreement = "https://$webPrefix/user_policy";
|
|
|
|
static String webmemberAgreement = "https://$webPrefix/member_ship_agreement";
|
|
}
|
|
|
|
class ApiStringUser {
|
|
static const String login = "/customer/login";
|
|
// /customer/register
|
|
static const String register = "/customer/register";
|
|
// /customer/info
|
|
static const String userInfo = "/customer/info";
|
|
|
|
static const String eventCreateHistory = "/createHistory";
|
|
static const String eventUserEnterApp = "/customer/enterTheApp";
|
|
static const String eventUserOnline = "/customer/onLine";
|
|
static const String eventUserLeaveApp = "/customer/leaveApp";
|
|
static const String eventPlaySeconds = "/uploadHistorySeconds";
|
|
static const String eventWatchTime = "/watchShortDuration";
|
|
static const String eventReport = "/event/add";
|
|
}
|
|
|
|
class ApiStringVideo {
|
|
|
|
static const String getRecommandsList = "/getRecommands";
|
|
static const String getVideoDetail = "/getVideoDetails";
|
|
|
|
static const String getHomeModules = "/home/all-modules";
|
|
static const String getRankingList = "/homeRanking";
|
|
static const String getCategoriesList = "/getCategories";
|
|
static const String getCategoriesDetail = "/videoList";
|
|
static const String getWaterflowList = "/newShortPlay";
|
|
|
|
static const String getSearchHots = "/search/hots";
|
|
static const String getSearch = "/search";
|
|
static const String collect = "/collect";
|
|
static const String cancelCollect = "/cancelCollect";
|
|
static const String getCollections = "/myCollections";
|
|
static const String getHistories = "/myHistorys";
|
|
} |