import request from "@/utils/request";
import { upcloud_base_wh_operate } from "@/config/serviceSettings";
const baseUrl = upcloud_base_wh_operate;
// export function getContainerLocationByContainerNoAndPalletNo(params) {
//   return request({
//     // url: 'mapi/eis/containerMonitoring',
//     url: baseUrl + '/master/containerLocation/get-containerLocation-containerNoAndPalletNo',
//     method: 'get',
//     params: params
//     // params: params
//   })
// }

export function saveStereo(params) {
  return request({
    // url: 'mapi/eis/containerMonitoring',
    url: baseUrl + "/move/v1/saveStereo",
    method: "post",
    data: params,
    // params: params
  });
}
// /upcloud-base-wh-operate{{suffix}}/move/v1/saveStereo

// stationupdate
export function update(params) {
  return request({
    // url: 'mapi/eis/containerMonitoring',
    url: baseUrl + "/eisWhArea/update-storeArea",
    method: "post",
    data: params,
    // params: params
  });
}

//   /eisStationService/station/delete

export function deletes(params) {
  return request({
    // url: 'mapi/eis/containerMonitoring',
    url: baseUrl + "/eisWhArea/del-storeArea",
    method: "get",
    //   data: params,
    params: params,
  });
}
