Commit 56480949 authored by 王炽's avatar 王炽

6666

parent 196be57a
...@@ -17,8 +17,8 @@ const { ...@@ -17,8 +17,8 @@ const {
// 通常可以吧 baseUrl 单独放在一个 js 文件了 // 通常可以吧 baseUrl 单独放在一个 js 文件了
// export const baseUrl = "http://172.16.230.108:7777/pmall"; // export const baseUrl = "http://172.16.230.108:7777/pmall";
// export const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境 // export const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境
export const baseUrl = "https://momclub-test.feihe.com/pmall"; // export const baseUrl = "https://momclub-test.feihe.com/pmall";
// export const baseUrl = "https://momclub.feihe.com/pmall";//生产环境 export const baseUrl = "https://momclub.feihe.com/pmall";//生产环境
// export const baseUrl = "https://docs.dui88.com/mock/1956/api";//mock // export const baseUrl = "https://docs.dui88.com/mock/1956/api";//mock
// export const baseUrl = "https://feihe.m.duibatest.com.cn/pmall" // export const baseUrl = "https://feihe.m.duibatest.com.cn/pmall"
......
...@@ -1092,7 +1092,7 @@ const handleUploadBackground = async (e) => { ...@@ -1092,7 +1092,7 @@ const handleUploadBackground = async (e) => {
console.log("userStore.babyInfo?.content?.id====", userStore.babyInfo); console.log("userStore.babyInfo?.content?.id====", userStore.babyInfo);
const updateData = { const updateData = {
id:userStore.babyInfo?.content?.id, id:userStore.babyInfo?.content?.id,
backgroundImg: res.data.url backgroundImg: uploadRes.data.url
} }
const updateRes = await saveBabyExtra(updateData); const updateRes = await saveBabyExtra(updateData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment