ConfigConstants.ets 1.48 KB
/**
 * Config Constants.
 */
export class ConfigConstants {
  /**
   * 应用id/appId
   *
   */
  static readonly appId: string = "";

  /**
   * 终端id/terminalId
   *
   */
  static readonly terminalId: string = "android";

  /**
   * 36_渠道编码(sappType)
   *
   */
  // static readonly appType: string = "2"; // wap
  static readonly appType: string = "3"; // 手机客户端App(安卓)

  static readonly clientType: string = "";

  /**
   * SourceID
   *
   */
  static readonly sourceId: string = "";

  /**
   * 产品渠道应用对照关系:
   */
  static readonly appCode: string = "";

  /**
   * 基线代码和客户端应用版本号规范
   */
  static readonly ptvCode: string = "";


  /**
   * 省份code/province(02->上海)
   */
  static readonly province: string = "02";

  /**
   * 正在播放的节目ID
   */
  static playingContentId?: string = null

  /**
   * 设备Id/deviceId
   * 设备Id或者能标识请求端的唯一标识
   */
  static readonly DEVICE_ID: string = "5bfed7be-0497-487f-990b-991e5b828a6e";
  /**
   * base url VOD
   */
  static readonly BASE_URL_VOD: string = "";

  /**
   * base url Live
   */
  static readonly BASE_URL_LIVE: string = "";

  /**
   * 获取用户信息的服务器
   */
  static readonly BASE_URL: string = "";
  /**
   * 内容列表路径
   */
  static readonly CONTENT_LIST_PATH: string = "/display/v4/static";
  /**
   * 电视台(直播)列表路径
   */
  static readonly LIVE_TV_PATH: string = "/live/v2/tv-data";
}