You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
871 B
Java
36 lines
871 B
Java
package com.glxp.api.idc.controller;
|
|
|
|
import java.util.Map;
|
|
|
|
import javax.annotation.Resource;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
import com.glxp.api.common.res.BaseResponse;
|
|
import com.glxp.api.idc.service.ConnectService;
|
|
|
|
|
|
|
|
|
|
/**
|
|
* 中继服务接口
|
|
*/
|
|
|
|
@RestController
|
|
public class ConnectController {
|
|
@Resource
|
|
ConnectService connectService;
|
|
|
|
@RequestMapping(value = "/spssync/common/connect")
|
|
@ResponseBody
|
|
public BaseResponse connect(HttpServletRequest request, @RequestBody Map<String, Object> params) {
|
|
|
|
return connectService.connectStatus(request,params);
|
|
}
|
|
|
|
}
|