File tree Expand file tree Collapse file tree 21 files changed +22
-22
lines changed
src/main/java/com/github/binarywang/demo/wx/mp Expand file tree Collapse file tree 21 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >org.springframework.boot</groupId >
8
8
<artifactId >spring-boot-starter-parent</artifactId >
9
- <version >2.1.7.RELEASE </version >
9
+ <version >2.6.7 </version >
10
10
</parent >
11
11
12
12
<groupId >com.github.binarywang</groupId >
20
20
<properties >
21
21
<weixin-java-mp .version>4.3.0</weixin-java-mp .version>
22
22
23
- <java .version>14 </java .version>
23
+ <java .version>8 </java .version>
24
24
<!-- <maven.compiler.source>1.8</maven.compiler.source>-->
25
25
<!-- <maven.compiler.target>1.8</maven.compiler.target>-->
26
26
<maven .compiler.encoding>UTF-8</maven .compiler.encoding>
Original file line number Diff line number Diff line change 4
4
import org .springframework .boot .autoconfigure .SpringBootApplication ;
5
5
6
6
/**
7
- * @author Binary Wang( https://github.com/binarywang)
7
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
8
8
*/
9
9
@ SpringBootApplication
10
10
public class WxMpDemoApplication {
Original file line number Diff line number Diff line change 7
7
import org .slf4j .LoggerFactory ;
8
8
9
9
/**
10
- * @author Binary Wang( https://github.com/binarywang)
10
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
11
11
*/
12
12
public abstract class AbstractBuilder {
13
13
protected final Logger logger = LoggerFactory .getLogger (getClass ());
Original file line number Diff line number Diff line change 6
6
import me .chanjar .weixin .mp .bean .message .WxMpXmlOutMessage ;
7
7
8
8
/**
9
- * @author Binary Wang( https://github.com/binarywang)
9
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
10
10
*/
11
11
public class ImageBuilder extends AbstractBuilder {
12
12
Original file line number Diff line number Diff line change 6
6
import me .chanjar .weixin .mp .bean .message .WxMpXmlOutTextMessage ;
7
7
8
8
/**
9
- * @author Binary Wang( https://github.com/binarywang)
9
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
10
10
*/
11
11
public class TextBuilder extends AbstractBuilder {
12
12
Original file line number Diff line number Diff line change 28
28
/**
29
29
* wechat mp configuration
30
30
*
31
- * @author Binary Wang( https://github.com/binarywang)
31
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
32
32
*/
33
33
@ AllArgsConstructor
34
34
@ Configuration
Original file line number Diff line number Diff line change 9
9
/**
10
10
* wechat mp properties
11
11
*
12
- * @author Binary Wang( https://github.com/binarywang)
12
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
13
13
*/
14
14
@ Data
15
15
@ ConfigurationProperties (prefix = "wx.mp" )
Original file line number Diff line number Diff line change 19
19
import static me .chanjar .weixin .common .api .WxConsts .MenuButtonType ;
20
20
21
21
/**
22
- * @author Binary Wang( https://github.com/binarywang)
22
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
23
23
*/
24
24
@ AllArgsConstructor
25
25
@ RestController
Original file line number Diff line number Diff line change 21
21
import me .chanjar .weixin .mp .bean .message .WxMpXmlOutMessage ;
22
22
23
23
/**
24
- * @author Binary Wang( https://github.com/binarywang)
24
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
25
25
*/
26
26
@ Slf4j
27
27
@ AllArgsConstructor
Original file line number Diff line number Diff line change 5
5
import org .slf4j .LoggerFactory ;
6
6
7
7
/**
8
- * @author Binary Wang( https://github.com/binarywang)
8
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
9
9
*/
10
10
public abstract class AbstractHandler implements WxMpMessageHandler {
11
11
protected Logger logger = LoggerFactory .getLogger (getClass ());
Original file line number Diff line number Diff line change 9
9
import java .util .Map ;
10
10
11
11
/**
12
- * @author Binary Wang( https://github.com/binarywang)
12
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
13
13
*/
14
14
@ Component
15
15
public class KfSessionHandler extends AbstractHandler {
Original file line number Diff line number Diff line change 12
12
import static me .chanjar .weixin .common .api .WxConsts .XmlMsgType ;
13
13
14
14
/**
15
- * @author Binary Wang( https://github.com/binarywang)
15
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
16
16
*/
17
17
@ Component
18
18
public class LocationHandler extends AbstractHandler {
Original file line number Diff line number Diff line change 10
10
import java .util .Map ;
11
11
12
12
/**
13
- * @author Binary Wang( https://github.com/binarywang)
13
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
14
14
*/
15
15
@ Component
16
16
public class LogHandler extends AbstractHandler {
Original file line number Diff line number Diff line change 11
11
import static me .chanjar .weixin .common .api .WxConsts .EventType ;
12
12
13
13
/**
14
- * @author Binary Wang( https://github.com/binarywang)
14
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
15
15
*/
16
16
@ Component
17
17
public class MenuHandler extends AbstractHandler {
Original file line number Diff line number Diff line change 15
15
import static me .chanjar .weixin .common .api .WxConsts .XmlMsgType ;
16
16
17
17
/**
18
- * @author Binary Wang( https://github.com/binarywang)
18
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
19
19
*/
20
20
@ Component
21
21
public class MsgHandler extends AbstractHandler {
Original file line number Diff line number Diff line change 9
9
import java .util .Map ;
10
10
11
11
/**
12
- * @author Binary Wang( https://github.com/binarywang)
12
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
13
13
*/
14
14
@ Component
15
15
public class NullHandler extends AbstractHandler {
Original file line number Diff line number Diff line change 11
11
import me .chanjar .weixin .mp .bean .message .WxMpXmlOutMessage ;
12
12
13
13
/**
14
- * @author Binary Wang( https://github.com/binarywang)
14
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
15
15
*/
16
16
@ Component
17
17
public class ScanHandler extends AbstractHandler {
Original file line number Diff line number Diff line change 11
11
/**
12
12
* 门店审核事件处理
13
13
*
14
- * @author Binary Wang( https://github.com/binarywang)
14
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
15
15
*/
16
16
@ Component
17
17
public class StoreCheckNotifyHandler extends AbstractHandler {
Original file line number Diff line number Diff line change 13
13
import me .chanjar .weixin .mp .bean .result .WxMpUser ;
14
14
15
15
/**
16
- * @author Binary Wang( https://github.com/binarywang)
16
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
17
17
*/
18
18
@ Component
19
19
public class SubscribeHandler extends AbstractHandler {
Original file line number Diff line number Diff line change 9
9
import java .util .Map ;
10
10
11
11
/**
12
- * @author Binary Wang( https://github.com/binarywang)
12
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
13
13
*/
14
14
@ Component
15
15
public class UnsubscribeHandler extends AbstractHandler {
Original file line number Diff line number Diff line change 4
4
import com .google .gson .GsonBuilder ;
5
5
6
6
/**
7
- * @author Binary Wang( https://github.com/binarywang)
7
+ * @author <a href=" https://github.com/binarywang">Binary Wang</a>
8
8
*/
9
9
public class JsonUtils {
10
10
public static String toJson (Object obj ) {
You can’t perform that action at this time.
0 commit comments