import DH from "@/pages/login/images/dh.png";
import DHWQ from "@/pages/login/images/dhwq.png";
import TM from "@/pages/login/images/tm.png";
import WSMM from "@/pages/login/images/wsmm.png";

// 小程序特有相关: 同时更改manifest.json和 project.config.json文件中的appid；
// 所有用户端的配置
export const CLIENT_CONFIGS = {
  // 智念用户端
  zhinian: {
    clientId: "2",
    appId: "wx5e79df5996572539",
    placeholder: "快告诉智念您在想什么~",
    loginDesc: "您好，欢迎来到智念科技",
    logo: DH,
    subLogo: DHWQ,
  },
  // 朵花用户端
  duohua: {
    clientId: "2",
    appId: "wx23f86d809ae80259",
    placeholder: "快告诉朵朵您在想什么~",
    loginDesc: "您好，欢迎来到朵花温泉",
    logo: DH,
    subLogo: DHWQ,
  },
  // 天沐用户端
  tianmu: {
    clientId: "4",
    appId: "wx0be424e1d22065a9",
    placeholder: "快告诉沐沐您在想什么~",
    loginDesc: "您好，欢迎来到天沐温泉",
    logo: TM,
    subLogo: WSMM,
  },
};

// 获取当前用户端配置
export const getCurrentConfig = () => CLIENT_CONFIGS.tianmu;
export const clientId = getCurrentConfig().clientId;
export const appId = getCurrentConfig().appId;
