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.
119 lines
1.8 KiB
119 lines
1.8 KiB
import {
|
|
request,requestwhq
|
|
} from './request'
|
|
|
|
const api = {
|
|
uploadFile(data) {
|
|
return requestuploadFile({
|
|
url: 'api/uploadFile',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
wxMinLogin(data) {
|
|
return request({
|
|
url: 'api/wxMinLogin',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
memberAgreement(data) {
|
|
return requestwhq({
|
|
url: 'api/memberAgreement',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
memberPrivacy(data) {
|
|
return requestwhq({
|
|
url: 'api/memberPrivacy',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
taskList(data) {
|
|
return request({
|
|
url: 'api/user/taskList',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
orderGrabbing(data) {
|
|
return request({
|
|
url: 'api/user/orderGrabbing',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
memberTaskList(data) {
|
|
return request({
|
|
url: 'api/user/memberTaskList',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
memberInfo(data) {
|
|
return request({
|
|
url: 'api/user/memberInfo',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
auth(data) {
|
|
return request({
|
|
url: 'api/user/auth',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
taskReceiptFile(data) {
|
|
return request({
|
|
url: 'api/user/taskReceiptFile',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
cancelTask(data) {
|
|
return request({
|
|
url: 'api/user/cancelTask',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
duringTask(data) {
|
|
return request({
|
|
url: 'api/user/duringTask',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
memberUpdate(data) {
|
|
return request({
|
|
url: 'api/user/memberUpdate',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
outLogin(data) {
|
|
return request({
|
|
url: 'api/user/outLogin',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
authInfo(data) {
|
|
return request({
|
|
url: 'api/user/authInfo',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
carTypeList(data) {
|
|
return request({
|
|
url: 'api/carTypeList',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
}
|
|
export default api |