package com.gree.mall.miniapp.constant;

import java.util.Arrays;
import java.util.List;

public class Constant {

    //广州格力售后服务(对接工单系统的企业微信)
    public static final String GD_COMPANY_WECHAT_ID = "1";
    public static final Integer PAGE_SIZE = 100000;

    public class Ali{
        //        public final static String ACCESS_KEY_ID = "LTAI4G3XTLh8G8DiTpXHpWgt";
//        public final static String ACCESS_KEY_SECERT = "LYe8uf7Lg9WxJ1xejk45qnPFqxXLzN";
        public final static String ACCESS_KEY_ID = "LTAI4GK1q4mnpCFbonMd1pji";
        public final static String ACCESS_KEY_SECERT = "E5LW0V1H8HBxqjKkExIxaXUgSyex6C";
    }


    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 class RedisPrefix{
        public final static String WORK_MINI_ACCESS_TOKEN = "jsm:sxb:work:mini:access:token";
        public final static String TOKEN_WX = "jsm:sxb:token:wx";
        public final static String TOKEN_GREE = "jsm:sxb:token:gree";
        public final static String LOCK_ORDER = "jsm:sxb:lock:order";
        public final static String LOCK_ORDER_STOCK = "jsm:sxb:lock:stock";
        public final static String SEC_IDENTIFIER = "jsm:sxb:sec:identifier";
        public final static String LOCK_COUPON = "jsm:sxb:lock:coupon";
        public final static String LOCK_GIFT = "jsm:sxb:lock:gift";
        public final static String LOCK_COUPON_TRANSFER = "jsm:sxb:lock:coupon:transfer";
        public final static String LOCK_COUPON_CHECK = "jsm:sxb:lock:coupon:check";
        public final static String LOCK_AUTH = "jsm:sxb:lock:auth";
        public final static String SMS = "jsm:sxb:sms";
        public final static String VERIFICATION = "jsm:sxb:verification";
        public final static String SMS_BIND_CODE= "jsm:sxb:sms:bind:";
        public final static String TOKEN_TAX = "jsm:sxb:token:tax";
        public final static String TOKEN_GONGDAN = "jsm:sxb:token:gongdan";
        public final static String LOCK_EXCHANGE_CODE = "jsm:sxb:lock:exchangecode";
        //订单号每日流水
        public final static String ORDER_NUM = "jsm:sxb:orderNo:";
        public final static String MATERIAL_STOCK_LOCK = "jsm:sxb:lock:material:stock:";
        public final static String LEASE_ORDER_LOCK = "jsm:sxb:lock:lease:order:";
        public final static String ES_GOODS_LOCK = "jsm:sxb:lock:es:goods:";

        // 接口令牌
        public final static String INF_TOKEN = "jsm:sxb:token:inf";

        // 查询通联支付订单信息
        public final static String QUERY_ALLINPAY_ORDER = "jsm:sxb:lock:a:query:order:";
        public static final String PARTS_SALES = "jsm:sxb:lock:parts:sales:";
        public static final String WRITE_SALES_ITEM = "jsm:sxb:parts:write:sales:item:";
    }

    //礼品卡支持的市
    public final static List<String> GIFT_CITY = Arrays.asList("广州市","清远市","韶关市","佛山市","肇庆市","云浮市");
    //APPID
    public final static String APPID = "APPID";
    //默认的appid
    public final static String DEF_APPID = "wx21d155e8a449d9b1";

//    public class User{
//        public final static String WORKER_ID_PREFIX = "S210";
//        public final static int WORKER_ID_SUB = 8;
//    }


}
