Commit cafa3c1f authored by spc's avatar spc

fixed

parent 410b9271
......@@ -29,9 +29,9 @@ const request = (options = {}) => {
// "Content-Type": "application/x-www-form-urlencoded"
// }
// if(options.url == '/c/ai/chat/query'){
// baseUrl = "https://docs.dui88.com/mock/1956";
// baseUrl = "https://docs.dui88.com/mock/1956";
// }
return new Promise((resolve, reject) => {
uni
.request({
......@@ -57,7 +57,7 @@ const request = (options = {}) => {
success: false
});
globalStore.setIsShowLoading(false);
}
}
else if (!data.data?.ok) {
// uni.showToast({
// title: data.data?.message,
......@@ -70,7 +70,7 @@ const request = (options = {}) => {
success: false
});
globalStore.setIsShowLoading(false);
}
}
else {
resolve(data.data);
}
......@@ -93,7 +93,7 @@ const get = async (url, data, options = {}) => {
options.type = "GET";
options.data = data;
options.url = url;
try {
return await request(options);
} catch (error) {
......@@ -106,7 +106,7 @@ const post = async (url, data, options = {}) => {
options.type = "POST";
options.data = data;
options.url = url;
try {
return await request(options);
} catch (error) {
......
......@@ -126,6 +126,10 @@ export default {
case 'partnership':
// 跳转到异业合作页面
// uni.navigateTo({ url: '/pages/partnership/index' })
jump({
type: JumpType.H5,
url: 'https://xingmahui.wjx.cn/vm/mZCydha.aspx'
});
break
case 'feedback':
// 跳转到意见反馈页面
......
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