|
@@ -4,6 +4,7 @@ import com.uas.eis.sdk.entity.ApiResult;
|
|
|
import com.uas.eis.sdk.resp.ApiResponse;
|
|
import com.uas.eis.sdk.resp.ApiResponse;
|
|
|
import com.uas.eis.service.MESHelperService;
|
|
import com.uas.eis.service.MESHelperService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
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.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
@@ -23,7 +24,7 @@ public class MESHelperController {
|
|
|
private MESHelperService mesHelperService;
|
|
private MESHelperService mesHelperService;
|
|
|
|
|
|
|
|
@RequestMapping(value="/dllMain")
|
|
@RequestMapping(value="/dllMain")
|
|
|
- public ApiResult<Map<Object,Object>> DLLMain(HttpServletRequest request, String data){
|
|
|
|
|
|
|
+ public ApiResult<Map<Object,Object>> DLLMain(HttpServletRequest request, @RequestBody String data){
|
|
|
Map<String, Object> modelMap = new HashMap<String, Object>();
|
|
Map<String, Object> modelMap = new HashMap<String, Object>();
|
|
|
String accessKey = request.getHeader("AccessKey");
|
|
String accessKey = request.getHeader("AccessKey");
|
|
|
String requestId = request.getHeader("RequestId");
|
|
String requestId = request.getHeader("RequestId");
|