rev:更新

This commit is contained in:
2026-10-02 14:42:00 +08:00
parent 0992ff493c
commit 0c7a3a7780
3 changed files with 3 additions and 3 deletions

View File

@@ -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("申请入库");
}
}

View File

@@ -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();

View File

@@ -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();