import { GET, POST } from "@mobileUI/utils/http";
import { proxy_api } from "@mobileUI/utils/env";
import Store from "@mobileUI/store";
export default {
  //外呼
  onTouchCall(params) {
    return POST(
      `${proxy_api[Store.node_env]}/crm_v2/web/call/touch_call`,
      params,
    );
  },
  // 获取对应小微欢迎码
  getXwCodeUrl(params) {
    return GET(`${proxy_api[Store.node_env]}/dialogue/xw/url/get`, params);
  },
};
