package com.bcxin.identify.util.getui;

/**
 * <b> 个推相关接口地址 </b>
 * @author ZXF
 * @create 2021/05/10 0030 15:43
 * @version
 * @注意事项 </b>
 */
public final class GeTuiConst {

	public final static int GETUI_SUCCESS_CODE = 200;


	public final static String GATEWAY_URL = "https://restapi.getui.com/v2/";

	/*** 获取鉴权token POST ***/
	public final static String POST_AUTH = "/auth";

	/*                  推送API                       */

	/*** 【toSingle】执行cid单推 POST ***/
	public final static String PUSH_SINGLE_CID = "/push/single/cid";

	/*** 【toSingle】执行别名单推 POST ***/
	public final static String PUSH_SINGLE_ALIAS = "/push/single/alias";
	/*** 【toSingle】执行cid批量单推 POST ***/
	public final static String PUSH_SINGLE_BATCH_CID = "/push/single/batch/cid";
	/*** 【toSingle】执行别名批量单推 POST ***/
	public final static String PUSH_SINGLE_BATCH_ALIAS = "/push/single/batch/alias";
	/*** 【toList】创建消息 POST ***/
	public final static String PUSH_LIST_MESSAGE = "/push/list/message";
	/*** 【toList】执行cid批量推 POST ***/
	public final static String PUSH_LIST_CID = "/push/list/cid";
	/*** 【toList】执行别名批量推 POST ***/
	public final static String PUSH_LIST_ALIAS = "/push/list/alias";
	/*** 【toApp】执行群推 POST ***/
	public final static String PUSH_ALL = "/push/all";
	/*** 【toApp】根据条件筛选用户推送 POST ***/
	public final static String PUSH_TAG = "/push/tag";
	/*** 【toApp】使用标签快速推送 POST ***/
	public final static String PUSH_FAST_CUSTOM_TAG = "/push/fast_custom_tag";
	/*** 【任务】停止任务 DELETE ***/
	public final static String DELETE_TASK = "/task/{taskid}";
	/*** 【任务】查询定时任务 POST ***/
	public final static String GET_TASK_SCHEDULE = "/task/schedule/{taskid}";
	/*** 【任务】删除定时任务 DELETE ***/
	public final static String DELETE_TASK_SCHEDULE = "/task/schedule/{taskid}";

	/*                  用户API                       */

	/*** 【别名】绑定别名 POST ***/
	public final static String user_alias = "/user/alias";
	/*** 【别名】根据cid查询别名 GET ***/
	public final static String get_user_alias_cid = "/user/alias/cid/{cid}";
	/*** 【别名】根据别名查询cid GET ***/
	public final static String get_user_cid_alias = "/user/cid/alias/{alias}";


	public final static String GATEWAY_UNI2_URL = "https://fc-mp-2d67fcc6-f2f1-4a77-952c-ef37c62038c8.next.bspapp.com/main";
	public final static String GATEWAY_UNI2_ONLINE_URL = "https://fc-mp-2d67fcc6-f2f1-4a77-952c-ef37c62038c8.next.bspapp.com/online";

}