|
|
@@ -129,7 +129,7 @@ public class SendMessageContorller {
|
|
|
String res = SmsUtil.sendNewSmsPost(smsUserPhoens, content);
|
|
|
Map mapObj = JSON.parseObject(res, Map.class);
|
|
|
String msgNo = mapObj.get("msg_no").toString();
|
|
|
- Integer code = Integer.valueOf(map.get("code").toString());
|
|
|
+ Integer code = Integer.valueOf(mapObj.get("code").toString());
|
|
|
//将短信记录保存进数据库
|
|
|
SmsRecord smsRecord = new SmsRecord();
|
|
|
smsRecord.setContent(content);
|