Commit a6088c9a by 杨林龙

修改ICE调用文件名

1 parent 1a2602ce
package com.glsx.controller; package com.glsx.controller;
import cn.com.glsx.openplatform.service.IceOpenApiService; import cn.com.glsx.openplatform.service.OpenApiService;
import cn.com.glsx.openplatform.vo.R; import cn.com.glsx.openplatform.vo.R;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -15,12 +15,12 @@ import java.util.Map; ...@@ -15,12 +15,12 @@ import java.util.Map;
public class IceOpenApiController { public class IceOpenApiController {
@Autowired @Autowired
private IceOpenApiService iceOpenApiService; private OpenApiService openApiService;
@RequestMapping(value = "/getDataView", method = RequestMethod.GET) @RequestMapping(value = "/getDataView", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public R getUserInfo(int customerId, int deviceType) { public R getUserInfo(int customerId, int deviceType) {
Map<String, Integer> dataViewMap = iceOpenApiService.getDataView(customerId, deviceType); Map<String, Integer> dataViewMap = openApiService.getDataView(customerId, deviceType);
return R.ok().data(dataViewMap); return R.ok().data(dataViewMap);
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!