import { GET } from "@mobileUI/utils/http";
import Store from "@mobileUI/store";
export default {
  // 获取省市区json数据
  gePcaCodeJson() {
    let proxy_api = "";
    switch (Store.node_env) {
      case "dev":
      case "dev_uat":
        proxy_api = "/cos_api";
        break;
      case "uat":
        proxy_api = "https://demo-cos.weiling.cn";
        break;
      default:
        proxy_api = "https://wlmvp-cos.weiling.cn";
        break;
    }
    return GET(`${proxy_api}/resources/region.json`, {});
  },
};
