Browse Source

新增 航次相关接口

wangzhihui 4 years ago
parent
commit
44933422a5
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/apis/fetch.js

+ 10 - 0
src/apis/fetch.js

@@ -24,4 +24,14 @@ export default {
   getVoyageList(data) {
     return $http("post", "voyage/list", data);
   },
+
+  // 根据船名/MMSI/船东手机号获取船舶用户信息(员工端添加航次选择船)
+  getUserInfoAndShipInfo(data) {
+    return $http("post", "ship/backstage/userShipInfo", data);
+  },
+
+  // 添加航次
+  addVoyage(data) {
+    return $http("post", "voyage/backstage/add", data);
+  },
 };