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.
jiansheng/api/index.js

98 lines
1.4 KiB

4 months ago
import {
request,requestwhq
} from './request'
const api = {
4 months ago
cardList(data) {
4 months ago
return requestwhq({
4 months ago
url: 'api/cardList',
4 months ago
method: 'post',
data
})
},
4 months ago
storeList(data) {
4 months ago
return requestwhq({
4 months ago
url: 'api/storeList',
4 months ago
method: 'post',
data
})
},
4 months ago
nearStore(data) {
4 months ago
return request({
4 months ago
url: 'api/nearStore',
4 months ago
method: 'post',
data
})
},
4 months ago
numberCheck(data) {
4 months ago
return request({
4 months ago
url: 'api/user/numberCheck',
4 months ago
method: 'post',
data
})
},
4 months ago
cardBuy(data) {
4 months ago
return request({
4 months ago
url: 'api/user/cardBuy',
4 months ago
method: 'post',
data
})
},
4 months ago
cardPay(data) {
4 months ago
return request({
4 months ago
url: 'api/user/cardPay',
4 months ago
method: 'post',
data
})
},
4 months ago
memberInfo(data) {
4 months ago
return request({
4 months ago
url: 'api/user/memberInfo',
4 months ago
method: 'post',
data
})
},
4 months ago
memberCardList(data) {
4 months ago
return request({
4 months ago
url: 'api/user/memberCardList',
4 months ago
method: 'post',
data
})
},
4 months ago
memberFace(data) {
4 months ago
return request({
4 months ago
url: 'api/user/memberFace',
4 months ago
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
})
},
3 months ago
newGetCity(data) {
return request({
url: 'api/newGetCity',
method: 'post',
data
})
},
4 months ago
ipGetCity(data) {
4 months ago
return request({
4 months ago
url: 'api/ipGetCity',
4 months ago
method: 'post',
data
})
},
}
export default api