package com.izouma.awesomeadmin.constant;
/**
*
* app常量
*
*/
public interface AppConstant {
// /**
// * 商户号
// */
// String MCH_ID = "1379284802";
//
// /**
// * 子商户号
// */
// String SUB_MCH_ID = "";
//
// /**
// * 商户密钥
// */
// String MCH_SECRET = "R4q0yoo5GXh9A3CDiKJ6v7hgiE0aT0rM";
/**
* 货币类型
*/
String FEE_TYPE = "CNY";
/**
* 交易类型 扫码
*/
String TRADE_TYPE_NATIVE = "NATIVE";
/**
* 交易类型 公众号H5
*/
String TRADE_TYPE_JSAPI = "JSAPI";
/**
* 交易类型 APP
*/
String TRADE_TYPE_APP = "APP";
/**
* 设备号 PC网页或公众号内支付请传"WEB"
*/
String DEVICE_INFO = "WEB";
// /**
// * 标题
// */
// String BODY = "工蜂家服产品";
//
// /**
// * 标题
// */
// String BODY_RECHARGE = "工蜂家服充值";
//
// /**
// * 通知地址
// */
// String NOTIFY_URL = "http://www.gfjiafu.com/wxpay/notify";
//
// /**
// * 通知地址
// */
// String GXNOTIFY_URL = "http://www.gfjiafu.com/GXwxpay/notify";
//
// /**
// * 通知地址
// */
// String NOTIFY_URL_RECHARGE = "http://www.gfjiafu.com/wxpay/notifyRecharge";
//
// /**
// * 商户名称
// */
// String SEND_NAME = "工蜂家服";
String PAGE = "page";
public interface PayMode {
/**
* 支付宝
*/
Integer ALIPAY = 0;
/**
* 微信
*/
Integer WEI_XIN = 1;
/**
* 电子币
*/
Integer COIN = 2;
}
/**
* 充值类型
*/
public interface RechargeType {
/**
* 支付宝
*/
Integer ALIPAY = 0;
/**
* 微信
*/
Integer WEI_XIN = 1;
/**
* 后台管理员
*/
Integer ADMIN = 2;
/**
* 其他
*/
Integer OTHER = 3;
}
public interface InergralUpdateType {
/**
* 产品抵扣
*/
Integer DISCOUNT = 0;
/**
* 任务
*/
Integer TASK = 1;
/**
* 充值
*/
Integer RECHARGE = 2;
}
public interface OrderStatus {
/**
* 下单,待付款
*/
Integer NO_PAY = 0;
/**
* 支付完成,待上传原图、代发货
*/
Integer PAY_OVER = 1;
/**
* 待修图、已发货
*/
Integer WAIT_REPAIR = 2;
/**
* 修图完成待验收、
*/
Integer ACCEPT = 3;
/**
* 验收不通过,待返修
*/
Integer REWORK = 4;
/**
* 验收完成待评论、已收货待评论
*/
Integer FINISH = 5;
/**
* 结束
*/
Integer END = 6;
/**
* 退款中
*/
Integer REFUNDING = 7;
/**
* 已经取消
*/
Integer CANCEL = 8;
/**
* 退款失败
*/
Integer REFUND_FAIL = 9;
/**
* 退款成功
*/
Integer REFUND_SUCCESS = 10;
}
/**
* 货币类型。
*
* @author 姓名
* 更新履历
* 日期 : 姓名: 更新内容
* @version 1.0
*/
public interface CoinType {
/**
* 充值
*/
Integer RECHARGE = 0;
/**
* 消费/加入房间
*/
Integer CONSUMPTION = 1;
/**
* 兑换
*/
Integer EXCHANGE = 2;
/**
* 提现
*/
Integer CASH = 3;
/**
* 税收
*/
Integer TAXES = 4;
/**
* 销售
*/
Integer SALE = 5;
/**
* 返还
*/
Integer FAN_HUAN = 6;
/**
* 退款
*/
Integer REFUND = 7;
/**
* 赠送
*/
Integer SONG = 8;
/**
* 奖励
*/
Integer BONUS = 9;
}
public interface Aliapi {
/**
* 交易创建,等待买家付款
*/
String WAIT_BUYER_PAY = "WAIT_BUYER_PAY";
/**
* 未付款交易超时关闭,或支付完成后全额退款
*/
String TRADE_CLOSED = "TRADE_CLOSED";
/**
* 交易支付成功
*/
String TRADE_SUCCESS = "TRADE_SUCCESS";
/**
* 交易结束,不可退款
*/
String TRADE_FINISHED = "TRADE_FINISHED";
/**
* typeFlag, 购买,订单付款
*/
Integer BUY = 0;
/**
* typeFlag,充值
*/
Integer RECHARGE = 1;
/**
* 押金
*/
Integer CASH_PLEDGE = 2;
}
/**
* 商品类型
*/
public interface ProductType {
/**
* 充值
*/
Integer RECHARGE = 0;
/**
* 消费
*/
Integer CONSUMPTION = 1;
}
/**
* 房间状态
*/
public interface HouseStatus {
/**
* 等待
*/
Integer WAIT = 0;
/**
* 准备
*/
Integer READY = 1;
/**
* 开始
*/
Integer START = 2;
/**
* 结束
*/
Integer END = 3;
/**
* 结算
*/
Integer SETTLEMENT = 4;
/**
* 关闭
*/
Integer CLOSE = 5;
/**
* 解析完成
*/
Integer ANALYSIS = 8;
}
/**
* 玩家状态
*/
public interface PlayerStatus {
/**
* 加入
*/
Integer JOIN = 0;
/**
* 准备
*/
Integer READY = 1;
/**
* 开始
*/
Integer START = 2;
/**
* 结束
*/
Integer END = 3;
/**
* 结算
*/
Integer SETTLEMENT = 4;
/**
* 领取奖励
*/
Integer RECEIVE = 5;
/**
* 未比赛
*/
Integer NO_MATCH = 6;
/**
* 比赛超时
*/
Integer OVERTIME = 7;
/**
* 解析完成
*/
Integer PROCESSED = 8;
/**
* 解析失败
*/
Integer PROCESSED_FAIL = 9;
}
/**
* 审核类型
*/
public interface ExamineType {
/**
* 未参赛
*/
Integer NO_MATCH = 0;
/**
* 自动审核
*/
Integer AUTO = 1;
/**
* 手动审核
*/
Integer MANUAL = 2;
}
/**
* 系统通知类型
*/
public interface NoticeType {
/**
* 未参赛
*/
Integer NO_MATCH = 0;
/**
* 比赛结果
*/
Integer RESULT = 1;
/**
* 奖金领取
*/
Integer RECEIVE = 2;
/**
* 赛季奖金
*/
Integer SEASON_BONUS = 3;
/**
* 比赛解析失败
*/
Integer FAIL = 4;
/**
* 比赛超时
*/
Integer OVERTIME = 5;
}
/**
* 赛季状态
*/
public interface SeasonStatus {
/**
* 准备中
*/
Integer READY = 0;
/**
* 进行中
*/
Integer START = 1;
/**
* 结算中
*/
Integer SETTLEMENT = 2;
/**
* 结束
*/
Integer END = 3;
}
/**
* 奖牌
*/
public interface Medals {
/**
* 金牌
*/
String GOLD = "gold";
/**
* 金牌积分
*/
Integer GOLD_SCORE = 10;
/**
* 银牌
*/
String SILVER = "silver";
/**
* 银牌积分
*/
Integer SILVER_SCORE = 5;
/**
* 铜牌
*/
String BRONZE = "bronze";
/**
* 铜牌积分
*/
Integer BRONZE_SCORE = 2;
/**
* 白金牌
*/
String PLATINUM = "platinum";
/**
* 白金牌积分
*/
Integer PLATINUM_SCORE = 15;
}
public interface PayCodeType {
/**
* 微信
*/
String wechat = "wechat";
/**
* 支付宝
*/
String alipay = "alipay";
/**
* 云闪付
*/
String cloud_flash = "cloud_flash";
/**
* 银联
*/
String union_pay = "union_pay";
/**
* 微信实时
*/
String wechat_real_time = "wechat_real_time";
/**
* 淘宝
*/
String taobao = "taobao";
/**
* 信用卡
*/
String credit_card = "credit_card";
}
}