feat: add mini-program privacy auth, update oss urls and refine photo guide

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
This commit is contained in:
duanshuwen
2026-07-13 20:14:49 +08:00
parent 29bf6afe55
commit b5952961fe
6 changed files with 123 additions and 150 deletions

View File

@@ -10,10 +10,9 @@ 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://one-feel-config-images-bucket.oss-cn-chengdu.aliyuncs.com/" + clientType + "/"
};
return "https://oss.nianxx.cn/mp/static/" + clientType + "/";
};