MT4201Controller.java
792 字节
package com.sunyo.wlpt.message.builder.controller;
import com.sunyo.wlpt.message.builder.service.MT4201Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
@RestController
@RequestMapping("/mt4201")
public class MT4201Controller {
@Autowired
MT4201Service mt4201Service;
@RequestMapping("/4201create")
public Boolean pffmcreate(@RequestBody Map<String, Object> map){
try {
return mt4201Service.pffmcreate(map);
}catch (Exception e){
e.printStackTrace();
return false;
}
}
}