import { TERMINAL, VCC_CHANNEL } from "@/utils/mpConfig/types";
const protocol = "https:";
const shenceUrl = protocol + "//bn.xyqb.com/sa?project=production";
const talosApi = protocol + "//talos.xyqb.com";
const kdspApi = protocol + "//kdsp-api.xyqb.com";
const vccHost = protocol + "//vcc-spider.xyqb.com/face-finished?h=0&vccToken=";
const groupBuyHost = protocol + "//group-buy.q-gp.com";
const yxmGateway = "https://gw.yxmie.com";
const VCC_URL = protocol + "//vcc.xyqb.com";
const MALL_URL = protocol + "//saas.91xr.cn";
const SHARE_CHANNEL = "159960"; //! 从分享、二维码进入小程序并下单时使用此渠道号
const VERSION = "7.7.01";
const env = "prod";
const SUB_MSG_LIST = {
  SELLER_SHIP: "_RJyydfzZXkL-Js8oOe592SS6MwDqgl01V60l6Ky-vg", // 商家发货通知
  ORDER_RECEIPT: "7FD59HKMBa6y8AP61N9I-ui4Pm7EWy401_Ar_9hlpAw", // 订单签收通知
  COUPON_RECEIPT: "6WP-LpbuJ_guHZsdU6nAnIDyf1h6VG5B66FWZPsZW18", // 优惠券到账通知
  // 以下是新增的团购消息模板
  GROUP_BUY_REFUND: "oF9UpxhnhRTWwmLTODHfXNou8uYZoB6tNRFLsYcdO10", // 退款通知
  GROUP_SUCCESS: "vvsh-X1hqHOYvvKd-xE3YAXHt_62_he59iM-6n1Y91s", // 拼团成功
  ACTIVITY_START: "eAx92dW4gcm-ZKnm9r_faz3ADopCvq65H5Zm6e615ZU", // 活动开始提醒
  // 新增订阅节点
  PAY_SUCCESS: "4tO9I3tRhIidvRd-E1i8Nh_r4ykz_NFWCSBP0oV_C8o", //支付成功
  RESULT_NOTICE: "I3gcq3_jxn0Jvin_tnhwtVgRhzU2Q9cjqwBbejGMcJI", //审核结果通知
  RECEIPT_OPEN_SUCCESS: "k9zsVBbSEmfBPcjN3TxcpDg_sesLnOm9zqROERicOJU", // 发票开具成功提醒
  // NEWPRODUCT_NOTICE: "w-nI_Ycw2G36GfLBa0qe-11YAy3mpHNb79X_FwK-U8Y" // 新品上架通知
  // 新增
  RECEIVE_COUPON: "hR8yGfIxb3YS8IIqbprydTFPfrhF0cxkfMFFR2F6nAs", // 优惠券领取提醒
  ACTIVITY_OPEN: "9rukO-aQbnIDKd2bBEF3uohkoWHbplNWiBrc4ADlfgE", // 活动开始提醒
  SPECIAL_PRODUCT: "n_loAZyLRfqNPpYUXZ0ZyilBCrPMnd_MXQxv9ZOd9kI" // 特价商品提醒
};
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";
// const tdApiHost = "https://gw.yxmie.com";

// let tdApiHost = "https://talos.xyqb.com"; // 同盾上报服务
// /* #ifndef MP-WEIXIN */
// tdApiHost = "https://yxm-gateway.xyqb.com";
/* #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,
  // tdApiHost,
  yxmGateway,
  SMAPPID
};
