Commit d3e7cee5 authored by tangwei's avatar tangwei

修改jar 版本

parent 13761220
......@@ -324,7 +324,7 @@ public class MessageServiceImpl implements IMessageService {
@Override
public Msg pushMsgAndSave(String toke,String product,String appKey,Msg msg) {
List<PushMsgParam> pmps = new ArrayList<PushMsgParam>();
// List<PushMsgParam> pmps = new ArrayList<PushMsgParam>();
PushMsgParam pushMsg = new PushMsgParam();
pushMsg.setRecivers(Arrays.asList(msg.getUserId()));
pushMsg.setContent(ObjectUtils.isEmpty(msg.getPushBody()) ? msg.getBody() : msg.getPushBody());
......@@ -335,10 +335,10 @@ public class MessageServiceImpl implements IMessageService {
extras.put("type",msg.getMsgType());
extras.put("id",msg.getRelationId()==null?"0":msg.getRelationId().toString());
pushMsg.setExtras(extras);
pmps.add(pushMsg);
// pmps.add(pushMsg);
msg.setSendTime(new Date());
msg.setStatus(1);
pushFeignServer.sendMessage(pmps);
pushFeignServer.sendMessage(pushMsg);
iMsgDao.save(msg);
return msg;
}
......
......@@ -39,7 +39,7 @@
<groupId>com.yeejoin</groupId>
<artifactId>amos-component-security</artifactId>
<version>1.8.0</version>
<version>1.8.1-SNAPSHOT</version>
</dependency>
</dependencies>
......
......@@ -22,7 +22,7 @@
<dependency>
<groupId>com.yeejoin</groupId>
<artifactId>amos-component-security</artifactId>
<version>1.8.0</version>
<version>1.8.1-SNAPSHOT</version>
</dependency>
</dependencies>
......
......@@ -37,7 +37,7 @@
<dependency>
<groupId>com.yeejoin</groupId>
<artifactId>amos-component-security</artifactId>
<version>1.8.0</version>
<version>1.8.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment