package com.gree.mall.manager.constant;

public class Constant {

    //校验的token
    public static final String TOKEN_NAME = "x-token";

    //会话存档大小
    public static final String HHCD_FILE_SIZE = "5000000";

    public final static Integer PAGE_SIZE = 100000;

    public class Ali {
        public final static String ACCESS_KEY_ID = "LTAI5tGCLsqbXGgtgArvCX7t";
        public final static String ACCESS_KEY_SECERT = "EK0mN35vqozFcRhI3KCZXOnP1VCLNp";
    }

    public class Img {
        //订单售后 退款凭证
        public final static String ORDER_REFUND_TKPZ = "order_refund_tkpz";
        //订单售后 退货物流凭证
        public final static String ORDER_REFUND_WLPZ = "order_refund_wlpz";
        //商品轮播图
        public final static String GOODS_IMG = "goods_img_cm";
        //评价图片
        public final static String ORDER_COMMENT = "order_comment";
        //营销素材内容文件
        public final static String MARKETING_CONTENT_FILE = "marketing_content_file";
        //营销素材封面图
        public final static String MARKETING_SHOW_IMAGE = "marketing_show_image";
    }

    public class RedisPrefix {
        public final static String WORK_MINI_ACCESS_TOKEN = "new:mall:work:mini:access:token";
        public final static String TOKEN_WX = "new:mall:token:wx";
        public final static String TOKEN_TAX = "new:mall:token:tax";
        public final static String TOKEN_GONGDAN = "new:mall:token:gongdan";
        public final static String LOCK_ORDER = "new:mall:lock:order";
        public final static String LOCK_ORDER_STOCK = "new:mall:lock:stock";
        public final static String LOCK_WX_SYNC = "new:mall:lock:wx:sync";
        public final static String LOCK_SOP_SYNC = "new:mall:lock:sop";
        public final static String CHAT_MESSAGE_SEQ_KEY = "new:CHAT_MESSAGE_SEQ";
        public final static String LOCK_EXCHANGE_CODE = "new:mall:lock:exchangecode";

        public final static String EPOCH_KEY = "new:mall:id:generator:epoch";
        public final static String EPOCH_LOCK_KEY = "new:mall:id:generator:epoch:lock";
    }
    public class ChatMessage {
        public final static String MSG_TYPE_DOC = "docmsg";
        public final static String MSG_TYPE_EXTERNAL_RED_PACKET = "external_redpacket";
        /**
         * 语音聊消息
         */
        public final static String MSG_TYPE_VOICE = "voice";

        public final static String MSG_TYPE_VIDEO = "video";
        /**
         * 图片消息类型
         */
        public final static String MSG_TYPE_IMAGE = "image";

        /**
         * 音频存档消息
         */
        public final static String MSG_TYPE_MEETING_VOICE_CALL = "meeting_voice_call";
        /**
         * 表情消息
         */
        public final static  String MSG_TYPE_EMOTION = "emotion";

    }


    public class SharePercent {
        public final static String SHARE_LIMIT_PERCENT = "0.2";
    }

    public class WXUrl {
        public final static String WX_PUSH_MSG_URL = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_msg_template?access_token=";
    }

}
