Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
open-platform-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a6088c9a
authored
Dec 22, 2020
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改ICE调用文件名
1 parent
1a2602ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/java/com/glsx/controller/IceOpenApiController.java
src/main/java/com/glsx/controller/IceOpenApiController.java
View file @
a6088c9
package
com
.
glsx
.
controller
;
package
com
.
glsx
.
controller
;
import
cn.com.glsx.openplatform.service.
Ice
OpenApiService
;
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
iceO
penApiService
;
private
OpenApiService
o
penApiService
;
@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
=
iceO
penApiService
.
getDataView
(
customerId
,
deviceType
);
Map
<
String
,
Integer
>
dataViewMap
=
o
penApiService
.
getDataView
(
customerId
,
deviceType
);
return
R
.
ok
().
data
(
dataViewMap
);
return
R
.
ok
().
data
(
dataViewMap
);
}
}
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment