24 lines
656 B
Java
24 lines
656 B
Java
package com.gzzn.omms.msgexchangeapi.controller;
|
|||
|
|
|
||
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
||
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||
|
|
import org.springframework.web.bind.annotation.RestController;
|
||
|
|
|
||
|
|
import com.gzzn.omms.msgexchangeapi.dto.ResponseDto;
|
||
|
|
|
||
|
|
@RestController
|
||
|
|
@RequestMapping("/cminmsgs")
|
||
|
|
public class CminmsgsController {
|
||
|
|
|
||
|
|
/***
|
||
|
|
* 发送消息到Cminmsgs数据库表
|
||
|
|
* @param msg
|
||
|
|
* @param topic
|
||
|
|
* @return
|
||
|
|
*/
|
||
|
|
@GetMapping(value = "/send")
|
||
|
|
public ResponseDto send(String msg,String topic) {
|
||
|
|
return ResponseDto.success();
|
||
|
|
}
|
||
|
|
}
|