Commit d6f97bb3 authored by 郝聪敏's avatar 郝聪敏

fix: 修改http协议

parent 4801cd6b
......@@ -25,7 +25,7 @@ export default {
return axios.get(`${config.opapiHost}/upload/getToken`);
},
uploadBase64(base64Str, name, token) {
return axios.post(`http://up-z0.qiniup.com/putb64/-1/key/${name}`, base64Str, {
return axios.post(`${config.qiniuUpHost}/putb64/-1/key/${name}`, base64Str, {
headers: {
'content-type': 'application/octet-stream',
'Authorization': token,
......
......@@ -5,4 +5,5 @@ export default {
qiniuHost: `https://appsync.lkbang.net/`,
shenceUrl: `${protocol}//bn.xyqb.com/sa?project=default`,
opapiHost: `${protocol}//opapi.q-gp.com`,
qiniuUpHost: `${protocol}//up-z0.qiniup.com`,
};
......@@ -4,5 +4,6 @@ export default {
apiHost: `https://quantum-fe.liangkebang.net/`,
qiniuHost: `https://appsync.lkbang.net/`,
shenceUrl: `${protocol}//bn.xyqb.com/sa?project=production`,
opapiHost: `${protocol}//opapi.q-gp.com`
opapiHost: `${protocol}//opapi.q-gp.com`,
qiniuUpHost: `${protocol}//up-z0.qiniup.com`,
};
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