增加版本更新功能
This commit is contained in:
@@ -43,8 +43,7 @@ public class KitToAcsController {
|
||||
for (String o : kitToAcsParam.keySet()) {
|
||||
param = JSONObject.parseObject(o);
|
||||
}
|
||||
log.info("---kit上报请求---"+param.toString());
|
||||
System.out.println("---kit上报请求---"+param.toString());
|
||||
log.info("---kit上报请求---{}", param);
|
||||
return new ResponseEntity<>(kitToAcsService.agvCallback(param), HttpStatus.OK);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ public enum TaskStateEnum {
|
||||
*/
|
||||
public static TaskStateEnum fromValue(String value) {
|
||||
for (TaskStateEnum state : values()) {
|
||||
if (state.getValue() == value) {
|
||||
if (state.getValue().equals(value)) {
|
||||
return state;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,6 +144,8 @@ security:
|
||||
- /api/localStorage/pictures
|
||||
# 参数
|
||||
- /api/param/getValueByCode
|
||||
# 版本
|
||||
- /api/version/current
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: false
|
||||
|
||||
Reference in New Issue
Block a user