2021与蓝度共同重构项目,服务端
liuhaonan
2022-11-07 ddfbc40f9ca8546a2c34865abef51630f054d5e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.sandu.ximon.admin.config;
 
public class VnnoxUrl {
 
    private static String url = "https://openapi.vnnox.com";
    //  获取授权信息
    public static final String GET_TOKEN = "/v1/oauth/token";
    //  获取LED列表
    public static String GET_PLAYER_LIST = "/v1/player/getPlayerList";
    //  获取当前状态
    public static String SYNC_CURRENT_INFO = "/v1/player/get/syncCurrentInfo";
    //  修改屏幕状态
    public static String SCREEN_STATUS = "/v1/player/immediateControl/screenStatus";
    //  修改音量
    public static String CHANGE_VOL = "/v1/player/immediateControl/volume";
    //  修改亮度
    public static String CHANGE_BRIGHTNESS = "/v1/player/immediateControl/brightness";
    //  普通节目
    public static String NORMAL_PROGRAM = "/v1/player/program/normal";
    //推送天气使用 单页紧急任务
    public static String EMERGENCY_PROGRAM = "/v1/player/program/emergency";
    //  截图
    public static String SCREEN_SHOT = "/v1/player/control/screenshot";
    //  重启
    public static String REBOOT = "/v1/player/immediateControl/reboot";
    // 下发定时任务
    public static String TIMING_CONTROL = "/v1/player/timingControl/screenStatus";
    //同步
    public static String SIMU_LCAST = "/v1/player/immediateControl/simulcast";
    // NTP对时
    public static String NTP_SYNC = "/v1/player/immediateControl/ntp";
    //天气
    public static String WEATHER = "/v1/player/program/weather";
 
    //实时信息(音量,亮度)
    public static String ASYNCURRENTSTATUS = "/v1/player/get/asynCurrentStatus";
 
 
    public static String getUrl(String urlSuffix) {
        return url + urlSuffix;
    }
}