| | |
| | |
|
| | | @Async("pushExecutor")
|
| | | @Override
|
| | | public void pushGoods(Long uid, Long auctionId, String title, String content, String versions) throws PushException {
|
| | | public void pushGoods(Long uid, Long auctionId, String title, String content, String versions)
|
| | | throws PushException {
|
| | |
|
| | | String gid = auctionId + "";
|
| | | JSONObject json = new JSONObject();
|
| | |
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | @Async("pushExecutor")
|
| | | @Override
|
| | | public void pushBaiChuanUrl(Long uid, String title, String content, String url, String versions) throws PushException {
|
| | | public void pushBaiChuanUrl(Long uid, String title, String content, String url, String versions)
|
| | | throws PushException {
|
| | |
|
| | | JSONObject json = new JSONObject();
|
| | | json.put("url", url);
|
| | |
| | | if (versions != null && versions.trim().length() > 0) {
|
| | | json.put("app_version", versions);
|
| | | }
|
| | | |
| | |
|
| | | MessageInfo info = new MessageInfo();
|
| | | info.setTitle(title);
|