11 lines
292 B
JavaScript
11 lines
292 B
JavaScript
import { request } from '@/api/request.js'
|
|
|
|
/** 读取平台端维护的法律单页内容。路径不包含前导斜杠。 */
|
|
export function fetchLegalDocument(path) {
|
|
return request({
|
|
url: `/platform/website/page/path/${encodeURIComponent(path)}`,
|
|
method: 'GET',
|
|
silent: true
|
|
})
|
|
}
|