initial commit
This commit is contained in:
64
src/api/main.js
Normal file
64
src/api/main.js
Normal file
@@ -0,0 +1,64 @@
|
||||
import httpClient from '@/libs/http-client'
|
||||
|
||||
export function getBanner (params) {
|
||||
const url = '/api/etc/banner'
|
||||
return httpClient.post(url, params).then(response => {
|
||||
return response
|
||||
})
|
||||
}
|
||||
|
||||
export function getPopup (params) {
|
||||
const url = '/api/etc/popupList'
|
||||
return httpClient.post(url, params).then(response => {
|
||||
return response
|
||||
})
|
||||
}
|
||||
|
||||
export function getPopupLogin (params) {
|
||||
const url = '/api/main/popupList'
|
||||
return httpClient.post(url, params).then(response => {
|
||||
return response
|
||||
})
|
||||
}
|
||||
|
||||
export function getHeadMsg (params) {
|
||||
const url = '/api/board/msgHeadList'
|
||||
return httpClient.post(url, params).then(response => {
|
||||
return response
|
||||
})
|
||||
}
|
||||
|
||||
export function getMain (params) {
|
||||
const url = '/api/main'
|
||||
return httpClient.post(url, params).then(response => {
|
||||
return response
|
||||
})
|
||||
}
|
||||
|
||||
export function getSiteOption (params) {
|
||||
const url = '/api/etc/siteOption'
|
||||
return httpClient.post(url, params).then(response => {
|
||||
return response
|
||||
})
|
||||
}
|
||||
|
||||
export function getSiteCheckOption (params) {
|
||||
const url = '/api/common/siteCheckInfo'
|
||||
return httpClient.post(url, params).then(response => {
|
||||
return response
|
||||
})
|
||||
}
|
||||
|
||||
export function getMainCashStatus (params) {
|
||||
const url = '/api/main/cashList'
|
||||
return httpClient.post(url, params).then(response => {
|
||||
return response
|
||||
})
|
||||
}
|
||||
|
||||
export function getMainNotice (params) {
|
||||
const url = '/api/main/nt/list'
|
||||
return httpClient.post(url, params).then(response => {
|
||||
return response
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user