Authored by wangshusheng

修改

... ... @@ -58,5 +58,6 @@
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.7" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:javax.servlet-api:3.1.0" level="project" />
<orderEntry type="library" name="Maven: jw.uhf:jw_uhf:1.0.0" level="project" />
</component>
</module>
\ No newline at end of file
... ...
... ... @@ -102,14 +102,11 @@
<artifactId>javax.servlet-api</artifactId>
</dependency>
<!--
<dependency>
<groupId>jw.uhf</groupId>
<artifactId>jw_uhf</artifactId>
<version>1.0.0</version>
<classifier>min</classifier>
</dependency>
-->
</dependencies>
<modules>
... ...
... ... @@ -59,5 +59,6 @@
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.7" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:javax.servlet-api:3.1.0" level="project" />
<orderEntry type="library" name="Maven: jw.uhf:jw_uhf:1.0.0" level="project" />
</component>
</module>
\ No newline at end of file
... ...
... ... @@ -41,7 +41,7 @@ public class RfidController {
@ResponseBody
public ApiResponse queryLeaveSku(@RequestParam(value="ip", required=true) String ip,
@RequestParam(value="mac", required=false) String mac) throws GatewayException {
logger.info("Enter RfidController.queryLeaveSku. ip is {}, mac is {}", ip, mac);
Map<String, Map<String, Long>> allTagsMap = SocketConstant.allTags;
Map<String, Long> skuMap = allTagsMap.get(ip);
... ... @@ -57,6 +57,7 @@ public class RfidController {
skuList.add(entry.getKey());
}
}
logger.info("out RfidController.queryLeaveSku. ip is: {}, skuList is: {}, currentTime is:{}", ip, skuList, System.currentTimeMillis());
//组织返回
return new ApiResponse.ApiResponseBuilder().code(200).message("query leave sku").data(skuList).build();
}
... ...
... ... @@ -72,5 +72,6 @@
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.7" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:javax.servlet-api:3.1.0" level="project" />
<orderEntry type="library" name="Maven: jw.uhf:jw_uhf:1.0.0" level="project" />
</component>
</module>
\ No newline at end of file
... ...
... ... @@ -58,5 +58,6 @@
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.7" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:javax.servlet-api:3.1.0" level="project" />
<orderEntry type="library" name="Maven: jw.uhf:jw_uhf:1.0.0" level="project" />
</component>
</module>
\ No newline at end of file
... ...