|
@@ -55,8 +55,8 @@
|
|
|
|
|
|
const id = window.location.href.split('?sId=')[1]
|
|
const id = window.location.href.split('?sId=')[1]
|
|
|
|
|
|
-
|
|
|
|
- fetch(`https://ypbwg.4dage.com/api/show/knowledge/cms/detail/${id}`)
|
|
|
|
|
|
+ // https://ypbwg.4dage.com
|
|
|
|
+ fetch(`/api/show/knowledge/cms/detail/${id}`)
|
|
.then(response => response.json())
|
|
.then(response => response.json())
|
|
.then(data => {
|
|
.then(data => {
|
|
const dataRes = data.data
|
|
const dataRes = data.data
|