update oss static resource urls to oss.nianxx.cn refactor privacy component to be reusable, add wechat mini-program privacy authorization check before image picking add image urls to photo guide examples, refine photo guide ui styles and remove unused avatarSrc prop
19 lines
649 B
JavaScript
19 lines
649 B
JavaScript
/// 生产环境基础地址
|
|
export const proUrl = "https://biz.nianxx.cn";
|
|
|
|
/// 生产环境服务器wss地址
|
|
export const wssProUrl = "wss://biz.nianxx.cn/ingress/agent/ws/chat";
|
|
|
|
/// 服务器基础地址
|
|
export const devUrl = "https://onefeel.brother7.cn/ingress";
|
|
|
|
/// 测试服务器wss地址
|
|
export const wssDevUrl = "wss://onefeel.brother7.cn/ingress/agent/ws/chat";
|
|
|
|
/// 服务器基础地址 - 根据环境变量自动切换
|
|
import { currentClientType } from "@/constant/base";
|
|
export const ossChengduUrl = () => {
|
|
const clientType = currentClientType().toLowerCase();
|
|
return "https://oss.nianxx.cn/mp/static/" + clientType + "/";
|
|
};
|