Browse Source

rev:url修改

master
刘先源 2 weeks ago
parent
commit
34ea36fc8e
  1. 2
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/controller/MesToWmsController.java
  2. 4
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/impl/WmsToMesServiceImpl.java

2
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/controller/MesToWmsController.java

@ -27,7 +27,7 @@ import java.util.List;
*/ */
@RestController @RestController
@RequestMapping("/api/mes") @RequestMapping("/api")
@Slf4j @Slf4j
@SaIgnore @SaIgnore
public class MesToWmsController { public class MesToWmsController {

4
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/impl/WmsToMesServiceImpl.java

@ -73,8 +73,8 @@ public class WmsToMesServiceImpl implements WmsToMesService {
// 获取mesurl // 获取mesurl
String url = iSysParamService.findByCode("MES_URL").getValue(); String url = iSysParamService.findByCode("MES_URL").getValue();
String api = "CamstarApi/LMSUnPackage"; // String api = "CamstarApi/LMSUnPackage";
url = url + api; // url = url + api;
try { try {
String resultMsg = HttpRequest.post(url) String resultMsg = HttpRequest.post(url)

Loading…
Cancel
Save