|
|
@@ -10,6 +10,11 @@ import com.github.binarywang.demo.spring.handler.MenuHandler; |
|
|
|
import com.github.binarywang.demo.spring.handler.MsgHandler; |
|
|
|
import com.github.binarywang.demo.spring.handler.SubscribeHandler; |
|
|
|
import com.github.binarywang.demo.spring.handler.UnsubscribeHandler; |
|
|
|
import com.github.binarywang.demo.spring.handler.gzh1.Gzh1LocationHandler; |
|
|
|
import com.github.binarywang.demo.spring.handler.gzh1.Gzh1MenuHadler; |
|
|
|
import com.github.binarywang.demo.spring.handler.gzh1.Gzh1MsgHadler; |
|
|
|
import com.github.binarywang.demo.spring.handler.gzh1.Gzh1SubscribeHadler; |
|
|
|
import com.github.binarywang.demo.spring.handler.gzh1.Gzh1UnSubscribeHadler; |
|
|
|
|
|
|
|
/** |
|
|
|
* |
|
|
@@ -19,8 +24,23 @@ import com.github.binarywang.demo.spring.handler.UnsubscribeHandler; |
|
|
|
@Service |
|
|
|
public class Gzh1WxService extends BaseWxService { |
|
|
|
@Autowired |
|
|
|
private WxGzh1Config wxConfig; |
|
|
|
private WxGzh1Config wxConfig; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private Gzh1LocationHandler locationHandler; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private Gzh1MenuHadler menuHadler; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private Gzh1MsgHadler msgHadler; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private Gzh1UnSubscribeHadler unSubscribeHadler; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private Gzh1SubscribeHadler subscribeHadler; |
|
|
|
|
|
|
|
@Override |
|
|
|
protected WxConfig getServerConfig() { |
|
|
|
return this.wxConfig; |
|
|
@@ -28,37 +48,31 @@ public class Gzh1WxService extends BaseWxService { |
|
|
|
|
|
|
|
@Override |
|
|
|
protected MenuHandler getMenuHandler() { |
|
|
|
// TODO Auto-generated method stub |
|
|
|
return null; |
|
|
|
return this.menuHadler; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
protected SubscribeHandler getSubscribeHandler() { |
|
|
|
// TODO Auto-generated method stub |
|
|
|
return null; |
|
|
|
return this.subscribeHadler; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
protected UnsubscribeHandler getUnsubscribeHandler() { |
|
|
|
// TODO Auto-generated method stub |
|
|
|
return null; |
|
|
|
return this.unSubscribeHadler; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
protected AbstractHandler getLocationHandler() { |
|
|
|
// TODO Auto-generated method stub |
|
|
|
return null; |
|
|
|
return this.locationHandler; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
protected MsgHandler getMsgHandler() { |
|
|
|
// TODO Auto-generated method stub |
|
|
|
return null; |
|
|
|
return this.msgHadler; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
protected AbstractHandler getScanHandler() { |
|
|
|
// TODO Auto-generated method stub |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|