解绑传参方式修改,隐私协议,用户协议,跳转相对应路径

This commit is contained in:
fengerli
2025-07-14 16:10:57 +08:00
parent dd752d0478
commit 56f05e7eec
9 changed files with 25 additions and 417 deletions

View File

@ -1,4 +1,4 @@
const BASE_URL = 'http://192.168.2.23:8000';
const BASE_URL = 'http://192.168.2.34:8000';
const request = (options) => {
console.log("options"+JSON.stringify(options))
return new Promise((resolve, reject) => {
@ -40,5 +40,8 @@ const request = (options) => {
uni.request(config);
});
};
// 导出基础URL以便其他地方使用
export const baseURL = BASE_URL
export const getToken = () => uni.getStorageSync('token') // 获取token的方法
export const clientid =() => uni.getStorageSync('clientID');
export default request;