Explorar el Código

新增 接口地址

wangzhihui hace 4 años
padre
commit
dc85f453a6
Se han modificado 1 ficheros con 16 adiciones y 0 borrados
  1. 16 0
      src/apis/fetch.js

+ 16 - 0
src/apis/fetch.js

@@ -70,7 +70,23 @@ export default {
     return $http("post", "/user/backstage/search", data);
   },
 
+  // 获取船舶列表
   getShipList(data) {
     return $http("post", "/ship/backstage/list", data);
   },
+
+  // 更新船舶信息
+  updateShip(data) {
+    return $http("post", "/ship/backstage/update", data);
+  },
+
+  // 更新船东信息
+  updateShipOwner(data) {
+    return $http("post", "/user/backstage/update", data);
+  },
+
+  // 获取船舶详情
+  getShipDetail(data) {
+    return $http("post", "/ship/backstage/detail", data);
+  },
 };