Browse Source

动液面手动操作接口调整

chenwen 7 months ago
parent
commit
75faff8992
1 changed files with 8 additions and 8 deletions
  1. 8 8
      src/api/wellLiquid.js

+ 8 - 8
src/api/wellLiquid.js

@@ -29,8 +29,8 @@ api.getLiquidDevBase = (wellId)=>{
 }
 
 api.remoteRead = (serial)=>{
-	return gatherRequest({
-	    url: '/api/liquid/read',
+	return request({
+	    url: '/liquid/remote/read',
 		method: 'post',
 	    data:  {serial}
 	});
@@ -45,24 +45,24 @@ api.getRemoteStatus = (serial)=>{
 }
 
 api.remoteSet = (data)=>{
-	return gatherRequest({
-	    url: '/api/liquid/set',
+	return request({
+	    url: '/liquid/remote/set',
 		method: 'post',
 	    data:  data
 	});
 }
 
 api.remoteBootTest = (data)=>{
-	return gatherRequest({
-	    url: '/api/liquid/test',
+	return request({
+	    url: '/liquid/remote/test',
 		method: 'post',
 	    data:  data
 	});
 }
 
 api.remoteGather = (serial)=>{
-	return gatherRequest({
-	    url: '/api/liquid/gather',
+	return request({
+	    url: '/liquid/remote/gather',
 		method: 'post',
 	    data:  {serial}
 	});