|
@@ -1,5 +1,6 @@
|
|
package com.bosshand.virgo.controller;
|
|
package com.bosshand.virgo.controller;
|
|
|
|
|
|
|
|
+import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.bosshand.virgo.core.response.Response;
|
|
import com.bosshand.virgo.core.response.Response;
|
|
import com.bosshand.virgo.message.model.NotificationMessage;
|
|
import com.bosshand.virgo.message.model.NotificationMessage;
|
|
@@ -63,10 +64,9 @@ public class MessageController {
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "提醒消息发送", notes = "提醒消息发送")
|
|
@ApiOperation(value = "提醒消息发送", notes = "提醒消息发送")
|
|
- @RequestMapping(value = "/reminder/{data}", method = RequestMethod.GET)
|
|
|
|
- public Response pushReminderMessage(@PathVariable String data) {
|
|
|
|
|
|
+ @RequestMapping(value = "/reminder", method = RequestMethod.POST)
|
|
|
|
+ public void pushReminderMessage(@RequestBody JSONArray data) {
|
|
messageService.pushReminderMessage(data);
|
|
messageService.pushReminderMessage(data);
|
|
- return Response.ok();
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "修改", notes = "修改")
|
|
@ApiOperation(value = "修改", notes = "修改")
|