mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-24 13:05:11 +08:00
commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package com.jsowell.common.enums.weixin;
|
||||
|
||||
/**
|
||||
* 业务类型
|
||||
*
|
||||
* @author xiaojiewen
|
||||
*/
|
||||
|
||||
public enum BusinessType {
|
||||
|
||||
CLIENT("客户端", 6L),
|
||||
DISTRIBUTOR("分销商", 2L),
|
||||
MERCHANT("服务商", 3L),
|
||||
OTHER("其他", 0L)
|
||||
|
||||
;
|
||||
|
||||
private String type;
|
||||
|
||||
private Long enumType;
|
||||
|
||||
BusinessType(String type, Long enumType) {
|
||||
this.type = type;
|
||||
this.enumType = enumType;
|
||||
}
|
||||
|
||||
public Long getEnumType() {
|
||||
return enumType;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package com.jsowell.common.enums.weixin;
|
||||
|
||||
/**
|
||||
* 微信支付参数
|
||||
* WeiXinPayParam<BR>
|
||||
* 创建人:小威 <BR>
|
||||
* 时间:2015年12月1日-下午4:41:02 <BR>
|
||||
*
|
||||
* @version 1.0.0
|
||||
*/
|
||||
public enum WeiXinPayParam {
|
||||
|
||||
WEIXIN_PAY_DATA("data", "微信支付数据"),
|
||||
WEIXIN_PAY_ID("id", "缓存id"),
|
||||
WEIXIN_PAY_ORDERID("orderId", "订单id"),
|
||||
WEIXIN_PAY_MONEY("money", "支付价格");
|
||||
|
||||
|
||||
private String value;
|
||||
private String desc;
|
||||
|
||||
WeiXinPayParam(String value, String desc) {
|
||||
this.value = value;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public void setDesc(String desc) {
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.jsowell.common.enums.weixin;
|
||||
|
||||
/**
|
||||
* 微信支付交易状态
|
||||
* WeiXinPayTradeStatus<BR>
|
||||
* 创建人:小威 <BR>
|
||||
* 时间:2015年12月1日-下午4:37:55 <BR>
|
||||
*
|
||||
* @version 1.0.0
|
||||
*/
|
||||
public enum WeiXinPayTradeStatus {
|
||||
SUCCESS("SUCCESS", "交易成功"),
|
||||
FAIL("FAIL", "交易失败");
|
||||
private String value;
|
||||
private String desc;
|
||||
|
||||
WeiXinPayTradeStatus(String value, String desc) {
|
||||
this.value = value;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public void setDesc(String desc) {
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user