|
10 | 10 | import com.github.binarywang.demo.spring.handler.MsgHandler; |
11 | 11 | import com.github.binarywang.demo.spring.handler.SubscribeHandler; |
12 | 12 | import com.github.binarywang.demo.spring.handler.UnsubscribeHandler; |
| 13 | +import com.github.binarywang.demo.spring.handler.gzh1.Gzh1LocationHandler; |
| 14 | +import com.github.binarywang.demo.spring.handler.gzh1.Gzh1MenuHadler; |
| 15 | +import com.github.binarywang.demo.spring.handler.gzh1.Gzh1MsgHadler; |
| 16 | +import com.github.binarywang.demo.spring.handler.gzh1.Gzh1SubscribeHadler; |
| 17 | +import com.github.binarywang.demo.spring.handler.gzh1.Gzh1UnSubscribeHadler; |
13 | 18 |
|
14 | 19 | /** |
15 | 20 | * |
|
19 | 24 | @Service |
20 | 25 | public class Gzh1WxService extends BaseWxService { |
21 | 26 | @Autowired |
22 | | - private WxGzh1Config wxConfig; |
| 27 | + private WxGzh1Config wxConfig; |
| 28 | + |
| 29 | + @Autowired |
| 30 | + private Gzh1LocationHandler locationHandler; |
| 31 | + |
| 32 | + @Autowired |
| 33 | + private Gzh1MenuHadler menuHadler; |
| 34 | + |
| 35 | + @Autowired |
| 36 | + private Gzh1MsgHadler msgHadler; |
| 37 | + |
| 38 | + @Autowired |
| 39 | + private Gzh1UnSubscribeHadler unSubscribeHadler; |
23 | 40 |
|
| 41 | + @Autowired |
| 42 | + private Gzh1SubscribeHadler subscribeHadler; |
| 43 | + |
24 | 44 | @Override |
25 | 45 | protected WxConfig getServerConfig() { |
26 | 46 | return this.wxConfig; |
27 | 47 | } |
28 | 48 |
|
29 | 49 | @Override |
30 | 50 | protected MenuHandler getMenuHandler() { |
31 | | - // TODO Auto-generated method stub |
32 | | - return null; |
| 51 | + return this.menuHadler; |
33 | 52 | } |
34 | 53 |
|
35 | 54 | @Override |
36 | 55 | protected SubscribeHandler getSubscribeHandler() { |
37 | | - // TODO Auto-generated method stub |
38 | | - return null; |
| 56 | + return this.subscribeHadler; |
39 | 57 | } |
40 | 58 |
|
41 | 59 | @Override |
42 | 60 | protected UnsubscribeHandler getUnsubscribeHandler() { |
43 | | - // TODO Auto-generated method stub |
44 | | - return null; |
| 61 | + return this.unSubscribeHadler; |
45 | 62 | } |
46 | 63 |
|
47 | 64 | @Override |
48 | 65 | protected AbstractHandler getLocationHandler() { |
49 | | - // TODO Auto-generated method stub |
50 | | - return null; |
| 66 | + return this.locationHandler; |
51 | 67 | } |
52 | 68 |
|
53 | 69 | @Override |
54 | 70 | protected MsgHandler getMsgHandler() { |
55 | | - // TODO Auto-generated method stub |
56 | | - return null; |
| 71 | + return this.msgHadler; |
57 | 72 | } |
58 | 73 |
|
59 | 74 | @Override |
60 | 75 | protected AbstractHandler getScanHandler() { |
61 | | - // TODO Auto-generated method stub |
62 | 76 | return null; |
63 | 77 | } |
64 | 78 |
|
|
0 commit comments