🆕 #3115【小程序】增加短剧媒资管理相关接口支持

This commit is contained in:
kevinzhwl
2023-08-17 04:49:49 +00:00
committed by Binary Wang
parent d433191115
commit deeb83f3d2
23 changed files with 881 additions and 0 deletions

View File

@@ -830,4 +830,24 @@ public class WxMaApiUrlConstants {
String SET_MSG_JUMP_PATH = "https://api.weixin.qq.com/wxa/sec/order/set_msg_jump_path";
}
public interface Vod {
String LIST_MEDIA_URL = "https://api.weixin.qq.com/wxa/sec/vod/listmedia";
String GET_MEDIA_URL = "https://api.weixin.qq.com/wxa/sec/vod/getmedia";
String GET_MEDIA_LINK_URL = "https://api.weixin.qq.com/wxa/sec/vod/getmedialink";
String DELETE_MEDIA_URL = "https://api.weixin.qq.com/wxa/sec/vod/deletemedia";
String AUDIT_DRAMA_URL = "https://api.weixin.qq.com/wxa/sec/vod/auditdrama";
String LIST_DRAMAS_URL = "https://api.weixin.qq.com/wxa/sec/vod/listdramas";
String GET_DRAMA_URL = "https://api.weixin.qq.com/wxa/sec/vod/getdrama";
String SINGLE_FILE_UPLOAD_URL = "https://api.weixin.qq.com/wxa/sec/vod/singlefileupload";
String PULL_UPLOAD_URL = "https://api.weixin.qq.com/wxa/sec/vod/pullupload";
String GET_TASK_URL = "https://api.weixin.qq.com/wxa/sec/vod/gettask";
String APPLY_UPLOAD_URL = "https://api.weixin.qq.com/wxa/sec/vod/applyupload";
String UPLOAD_PART_URL = "https://api.weixin.qq.com/wxa/sec/vod/uploadpart";
String COMMIT_UPLOAD_URL = "https://api.weixin.qq.com/wxa/sec/vod/commitupload";
String GET_CDN_USAGE_DATA_URL = "https://api.weixin.qq.com/wxa/sec/vod/getcdnusagedata";
String GET_CDN_LOGS_URL = "https://api.weixin.qq.com/wxa/sec/vod/getcdnlogs";
}
}

View File

@@ -181,4 +181,41 @@ public class WxMaConstants {
*/
public static final String ZH_TW = "zh_TW";
}
@UtilityClass
public static final class AuditStatus {
public static final int INVALID = 0;
public static final int ONGOING = 1;
public static final int REJECTED = 2;
public static final int APPROVED = 3;
public static final int RECOMMIT = 4;
}
@UtilityClass
public static final class ExpeditedType {
/**
* 非加急
*/
public static final int NORMAL = 0;
/**
* 加急
*/
public static final int HIGH_PRIORITY = 1;
}
@UtilityClass
public static final class UploadTaskType {
public static final int PULL_UPLOAD = 1;
}
@UtilityClass
public static final class UploadTaskStatus {
public static final int WAITING = 1;
public static final int WORKING = 2;
public static final int DONE = 3;
public static final int FAILED = 4;
}
}