Skip to content

Commit ef97a30

Browse files
committed
重构WxError相关代码,自动根据代码补充错误中文说明
1 parent a9d5527 commit ef97a30

File tree

173 files changed

+1240
-361
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+1240
-361
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
package me.chanjar.weixin.common;
2+
3+
/**
4+
* <pre>
5+
* 微信类型枚举.
6+
* Created by BinaryWang on 2018/5/14.
7+
* </pre>
8+
*
9+
* @author <a href="https://github.com/binarywang">Binary Wang</a>
10+
*/
11+
public enum WxType {
12+
/**
13+
* 企业微信
14+
*/
15+
CP,
16+
/**
17+
* 微信公众号
18+
*/
19+
MP,
20+
/**
21+
* 微信小程序
22+
*/
23+
MiniApp,
24+
/**
25+
* 微信开放平台
26+
*/
27+
Open,
28+
/**
29+
* 微信支付
30+
*/
31+
Pay;
32+
}

weixin-java-common/src/main/java/me/chanjar/weixin/common/api/WxErrorExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package me.chanjar.weixin.common.api;
22

3-
import me.chanjar.weixin.common.exception.WxErrorException;
3+
import me.chanjar.weixin.common.error.WxErrorException;
44

55
/**
66
* WxErrorException处理器.

weixin-java-common/src/main/java/me/chanjar/weixin/common/bean/result/WxError.java

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)