45 lines
693 B
JavaScript
45 lines
693 B
JavaScript
/**
|
|
* 系统接口模块
|
|
*/
|
|
|
|
import { get } from './request'
|
|
|
|
/**
|
|
* 获取用户协议
|
|
* @returns {Promise<Object>}
|
|
*/
|
|
export function getAgreement() {
|
|
return get('/system/getAgreement')
|
|
}
|
|
|
|
/**
|
|
* 获取隐私政策
|
|
* @returns {Promise<Object>}
|
|
*/
|
|
export function getPrivacy() {
|
|
return get('/system/getPrivacy')
|
|
}
|
|
|
|
/**
|
|
* 获取关于我们
|
|
* @returns {Promise<Object>}
|
|
*/
|
|
export function getAbout() {
|
|
return get('/system/getAbout')
|
|
}
|
|
|
|
/**
|
|
* 获取联系我们信息(客服二维码)
|
|
* @returns {Promise<Object>}
|
|
*/
|
|
export function getContactInfo() {
|
|
return get('/system/getContactInfo')
|
|
}
|
|
|
|
export default {
|
|
getAgreement,
|
|
getPrivacy,
|
|
getAbout,
|
|
getContactInfo
|
|
}
|