Commit e860e2b4 by 杨林龙

完成基本开发

1 parent 4661b4c1
package com.glsx.controller;
import cn.com.glsx.openplatform.service.DeviceMgrService;
import cn.com.glsx.openplatform.service.IceOpenApiService;
import cn.com.glsx.openplatform.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -9,7 +8,6 @@ import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
import java.util.Map;
@RestController
......@@ -22,7 +20,7 @@ public class IceOpenApiController {
@RequestMapping(value = "/getDataView", method = RequestMethod.GET)
@ResponseBody
public R getUserInfo(int userId, int deviceType) {
Map<String, Integer> dataViewMap = iceOpenApiService.getDataView(userId);
Map<String, Integer> dataViewMap = iceOpenApiService.getDataView(userId, deviceType);
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!