rev:wms获取重量
This commit is contained in:
@@ -104,4 +104,12 @@ public class WmsToAcsController {
|
||||
return new ResponseEntity<>(wmstoacsService.notifyAcs(param), HttpStatus.OK);
|
||||
}
|
||||
|
||||
@PostMapping("/getWeigh")
|
||||
@Log("wms获取重量")
|
||||
/** wms获取重量 */
|
||||
@SaIgnore
|
||||
public ResponseEntity<Object> getWeigh(@RequestBody JSONObject param) {
|
||||
return new ResponseEntity<>(wmstoacsService.getWeigh(param), HttpStatus.OK);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -103,4 +103,17 @@ public interface WmsToAcsService {
|
||||
JSONObject notifyAcs(JSONObject param);
|
||||
|
||||
|
||||
/**
|
||||
* wms获取重量
|
||||
* @param param
|
||||
* {
|
||||
* device_code: 设备编码
|
||||
* }
|
||||
* @return {
|
||||
* data: {
|
||||
* weigh: 重量
|
||||
* }
|
||||
* }
|
||||
*/
|
||||
CreateTaskResponse getWeigh(JSONObject param);
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user