/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.common.config;

/**
 * 常量
 */
public class Constant {

	/** 超级管理员ID */
	public static final int SUPER_ADMIN_ID = 1;

	/**
	 * 自营店id
	 */
	public static final long MAIN_SHOP = 1L;

	/**
	 * 如果把平台的数据也保存在店铺里面，如分类，热搜之类的，保存的店铺id
	 */
	public static final long PLATFORM_SHOP_ID = 0L;
	/**
	 * 平台店名称
	 */
	public static final String PLATFORM_SHOP_NAME = "官方店";

	/**
	 * 积分名称
	 */
	public static final String SCORE_CONFIG = "SCORE_CONFIG";
	public static final String SCORE_EXPLAIN = "SCORE_EXPLAIN";
	public static final String SCORE_EXPIRE = "SCORE_EXPIRE";
	public static final String SCORE_QUESTION = "SCORE_QUESTION";
	public static final String LEVEL_SHOW = "LEVEL_SHOW";

	/**
	 * 成长值名称
	 */
	public static final String GROWTH_CONFIG = "GROWTH_CONFIG";

	/** 会员初始等级id*/
	public static final int USER_LEVEL_INIT = 1;

	/** 商家线下核销*/
	public static final int SERVICE_TYPE = 1;

	/** 系统菜单最大id */
	public static final int SYS_MENU_MAX_ID = 30;

	/** 订单类型：积分订单 */
	public static final int ORDER_TYPE_SCORE = 3;

	/**
	 * 最大确认收货退款时间7天
	 */
	public static final int MAX_FINALLY_REFUND_TIME = 7;

	/**
	 * 退款最长申请时间，当申请时间过了这个时间段之后，会取消退款申请
	 */
	public static final int MAX_REFUND_APPLY_TIME = 7;

	/**
	 * 分销佣金结算在确认收货后的时间，维权期过后（7+7+1）
	 */
	public static final int DISTRIBUTION_SETTLEMENT_TIME = MAX_FINALLY_REFUND_TIME + MAX_REFUND_APPLY_TIME + 1;

	/**
	 * 查询订单成功状态
	 */
	public static final String SUCCESS = "SUCCESS";

	/**
	 * 一级分类id
	 */
	public static final Long CATEGORY_ID = 0L;

	/**
	 * 配置名称
	 */
	public static final String ALIPAY_CONFIG = "ALIPAY_CONFIG";
	public static final String WXPAY_CONFIG = "WXPAY_CONFIG";
	public static final String QINIU_CONFIG = "QINIU_CONFIG";
	public static final String ALI_OSS_CONFIG = "ALI_OSS_CONFIG";
	public static final String HUAWEI_OBS_CONFIG = "HUAWEI_OBS_CONFIG";
	public static final String QUICKBIRD_CONFIG = "QUICKBIRD_CONFIG";
	public static final String MA_CONFIG = "MA_CONFIG";
	public static final String MP_CONFIG = "MP_CONFIG";
	public static final String ALIDAYU_CONFIG = "ALIDAYU_CONFIG";
	public static final String DOMAIN_CONFIG = "DOMAIN_CONFIG";
	public static final String MX_APP_CONFIG = "MX_APP_CONFIG";


}
