|
@ -1,5 +1,7 @@
|
1
|
1
|
package com.ai.server.action;
|
2
|
2
|
|
|
3
|
import com.ai.ipu.basic.log.ILogger;
|
|
4
|
import com.ai.ipu.basic.log.IpuLoggerFactory;
|
3
|
5
|
import com.ai.ipu.basic.string.StringUtil;
|
4
|
6
|
import com.ai.ipu.basic.util.IpuBaseException;
|
5
|
7
|
import com.ai.mobile.push.msg.TextMessage;
|
|
@ -13,6 +15,8 @@ import com.ailk.common.data.impl.DatasetList;
|
13
|
15
|
|
14
|
16
|
public class MessageAction extends AppAction {
|
15
|
17
|
|
|
18
|
transient protected static final ILogger log = IpuLoggerFactory.createLogger(MessageAction.class);
|
|
19
|
|
16
|
20
|
/**
|
17
|
21
|
* 像用户发送消息
|
18
|
22
|
*
|
|
@ -35,7 +39,7 @@ public class MessageAction extends AppAction {
|
35
|
39
|
}
|
36
|
40
|
catch (Exception e) {
|
37
|
41
|
data.put("code", 500);
|
38
|
|
e.printStackTrace();
|
|
42
|
log.error("context", e);
|
39
|
43
|
}
|
40
|
44
|
|
41
|
45
|
return data;
|