You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
884 B
46 lines
884 B
import { http } from '@/utils/http.js'
|
|
|
|
const baseURL = "http://39.101.133.168:8828"
|
|
//图片上传
|
|
export const uploadImageApi = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: baseURL +'/hljw/api/aws/upload',
|
|
data
|
|
})
|
|
}
|
|
|
|
//问题回答
|
|
export const getAnswerApi = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: '/api/customer/askQuestion',
|
|
data
|
|
})
|
|
}
|
|
|
|
//获取随机5条猜你想问问题
|
|
export const getQuestionApi = (data) => {
|
|
return http({
|
|
method: 'GET',
|
|
url: '/api/customer/getQuestion',
|
|
})
|
|
}
|
|
|
|
|
|
//反馈添加
|
|
export const addFeedbackRecordApi = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: baseURL +'/link/third/dcFeedBack/feedback/add',
|
|
data
|
|
})
|
|
}
|
|
//反馈历史记录
|
|
export const getFeedbackRecordsApi = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: baseURL+'/link/third/dcFeedBack/feedback/select',
|
|
data
|
|
})
|
|
}
|