rev:更新
This commit is contained in:
@@ -200,7 +200,7 @@ public class ConveyorWithScannerWeightDeviceDriver extends AbstractOpcDeviceDriv
|
||||
Boolean applyTask = Optional.ofNullable(extraValue.get("apply_task")).map(Object::toString).map(Boolean::parseBoolean).orElse(false);
|
||||
if (applyTask) {
|
||||
//编写业务逻辑方法
|
||||
if (mode >= 6) {
|
||||
if (mode >= 6 && !this.requireSuccess) {
|
||||
applyInbound("申请入库");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ public class LmsApi {
|
||||
try {
|
||||
String responseBody = HttpRequest.post(baseUrl.replaceAll("/+$", "") + apiPath)
|
||||
.header("Content-Type", "application/json")
|
||||
.header("Authorization", "Bearer test3")
|
||||
.header("Authorization", "Bearer user3")
|
||||
.body(JSON.toJSONString(request))
|
||||
.execute()
|
||||
.body();
|
||||
|
||||
@@ -91,7 +91,7 @@ public class WmsApi {
|
||||
try {
|
||||
String responseBody = HttpRequest.post(baseUrl.replaceAll("/+$", "") + apiPath)
|
||||
.header("Content-Type", "application/json")
|
||||
.header("Authorization", "Bearer test3")
|
||||
.header("Authorization", "Bearer user3")
|
||||
.body(JSON.toJSONString(request))
|
||||
.execute()
|
||||
.body();
|
||||
|
||||
Reference in New Issue
Block a user