import { TERMINAL, VCC_CHANNEL } from "@/utils/mpConfig/types";
const envName = "yxm";
const shenceUrl = "https://bn.xyqb.com/sa?project=default";
const talosApi = `https://talos-${envName}.liangkebang.net`;
// const yxmGateway = `https://yxm-gateway-${envName}.liangkebang.net`;
const yxmGateway = `https://gw-${envName}.liangkebang.net`;
const kdspApi = `https://kdsp-api-${envName}.liangkebang.net`;
// const kdspHost = `https://yxm-gateway-${envName}.liangkebang.net`;
const kdspHost = `https://kdsp-talos-${envName}.liangkebang.net`;
const vccHost = `https://vcc-spider-${envName}.liangkebang.net/face-finished?h=0&vccToken=`;
const groupBuyHost = `https:https://group-buy-${envName}.liangkebang.net`;
const VCC_URL = `https://vcc-${envName}.liangkebang.net`;
const MALL_URL = `https://xincheng-${envName}.liangkebang.net`;
// const MALL_URL = `http://192.168.1.108:8081`;
const SHARE_CHANNEL = "159960"; //! 从分享、二维码进入小程序并下单时使用此渠道号
const VERSION = "7.7.01";
const env = "test";
const SUB_MSG_LIST = {
  SELLER_SHIP: "1JhEINnMkdCLfEKkBu_g4kBYBwZ5ttdc8wJCHM3rptQ", // 商家发货通知
  ORDER_RECEIPT: "yuTVWlf5mfMJ1OdVepV4lNGNlC0ODsuPRKznTQxPUIY", // 订单签收通知
  COUPON_RECEIPT: "7O1W4EdNo1CDe7xLCzV7bzzqX57RCjZoibUkwWHx-BE", // 优惠券到账通知
  // 以下是新增的团购消息模板
  GROUP_BUY_REFUND: "BsS1di1gz_fxCrXYYPjQSw9juezCEhklyuJFwrr81EA", // 退款通知
  GROUP_SUCCESS: "jjQDF-xjFGWif1ePik6NsTnHHLYERMvCUjvgUWhZ2iM", // 拼团成功
  ACTIVITY_START: "YCLxz0TtrymAOOW74pIEht5dMLBlyI84dHgu-RdVjVw", // 活动开始提醒
  // 新增订阅节点
  PAY_SUCCESS: "mqriYSvLJO-4QLrQi4h7A00VXp16i1Uyr_1bmkA7POo", //支付成功
  RESULT_NOTICE: "GfvGAKzYBotsosAmGF90g_qndPPg_s8X7y31raPDUu4", //审核结果通知
  RECEIPT_OPEN_SUCCESS: "zx4AIHgLWV4Ge-ssmrbMsqpj9Ijha7fQREeX5J48lVc", // 发票开具成功提醒
  // NEWPRODUCT_NOTICE: "36c1LKstbzyrC1W1mknnnRtNq7_AffQf0-vOMrWANiU" // 新品上架通知
  // 新增
  RECEIVE_COUPON: "MrOElIkBsGY5oBH9AzArM7t73h8Tw0YbBFuIcXd0c1w", // 优惠券领取提醒
  ACTIVITY_OPEN: "K1er4dN_rmaAZoqMNFHGs5LOTT5hu2ejfvi-mU9wvoU", // 活动开始提醒
  SPECIAL_PRODUCT: "cTNqo4EMyZ59JLt00pkWI2AAyUnSqYPcbbmDXln2mCc" // 特价商品提醒
};
const tmplIdsList = {
  SELLER_SHIP: "商家发货通知",
  ORDER_RECEIPT: "订单签收通知",
  COUPON_RECEIPT: "优惠券到账通知",
  // 以下是新增的团购消息模板
  GROUP_BUY_REFUND: "退款通知",
  GROUP_SUCCESS: "拼团成功",
  ACTIVITY_START: "活动开始提醒",
  // 新增订阅节点
  PAY_SUCCESS: "支付成功",
  RESULT_NOTICE: "审核结果通知",
  RECEIPT_OPEN_SUCCESS: "发票开具成功提醒",
  // 新增
  RECEIVE_COUPON: "优惠券领取提醒",
  ACTIVITY_OPEN: "活动开始提醒",
  SPECIAL_PRODUCT: "特价商品提醒"
};
const REYUN_APP_KEY = "68a35d6d6e48de2c1cf8a9bb15215a71";

const SMAPPID = "YXM_TEST";
// const tdApiHost = "https://yxm-gateway-yxm.liangkebang.net";
// let tdApiHost = "https://talos-yxm.liangkebang.net"; // 同盾上报服务
// /* #ifndef MP-WEIXIN */
// tdApiHost = "https://yxm-gateway-yxm.liangkebang.net";
// /* #endif */
export default {
  shenceUrl,
  env,
  talosApi,
  kdspApi,
  vccHost,
  groupBuyHost,
  VCC_CHANNEL,
  SHARE_CHANNEL,
  TERMINAL,
  VERSION,
  VCC_URL,
  SUB_MSG_LIST,
  MALL_URL,
  REYUN_APP_KEY,
  tmplIdsList,
  kdspHost,
  // tdApiHost,
  yxmGateway,
  SMAPPID
};
