| | |
| | |
|
| | |
|
| | | @Override
|
| | | public void pushGoods(Long uid, String url, String title, String content, List<String> listIOS,
|
| | | public void pushGoods(Long uid, String title, String content, String url, List<String> listIOS,
|
| | | List<String> listAndroid) throws PushException {
|
| | | String gids = url.split("id=")[1];
|
| | | String gid = gids.split("&")[0];
|
| | |
| | |
|
| | |
|
| | | PushRecord pushRecord = new PushRecord();
|
| | | pushRecord.setUid(uid);
|
| | | pushRecord.setState(1);
|
| | | pushRecord.setType(PushController.GOODS); // 都成功
|
| | | pushRecord.setUrl(url);
|
| | |
| | |
|
| | |
|
| | | @Override
|
| | | public void pushUrl(Long uid, String url, String title, String content, List<String> listIOS,
|
| | | public void pushUrl(Long uid, String title, String content, String url, List<String> listIOS,
|
| | | List<String> listAndroid) throws PushException {
|
| | |
|
| | | if (StringUtil.isNullOrEmpty(url))
|
| | |
| | |
|
| | |
|
| | | PushRecord pushRecord = new PushRecord();
|
| | | pushRecord.setUid(uid);
|
| | | pushRecord.setState(1);
|
| | | pushRecord.setType(PushController.URL);
|
| | | pushRecord.setUrl(url);
|