|
@@ -1,17 +1,19 @@
|
|
-// import axios from "axios"
|
|
|
|
-
|
|
|
|
-// axios({
|
|
|
|
-// method: 'post',
|
|
|
|
-// url: `${config.backendDir}visit/saveType`,
|
|
|
|
-// headers: {
|
|
|
|
-// appId: "CA02F83A5FA162B930AA2F962D202F43B0F6DE0B51AD79FEDB03FA8202BB4909330105B3B347510D87C97060C4288280D4A744E00565A4EC",
|
|
|
|
-// "Content-Type": "application/json",
|
|
|
|
-// },
|
|
|
|
-// data: {
|
|
|
|
-// moduleType,
|
|
|
|
-// type: 'visit',
|
|
|
|
-// },
|
|
|
|
-// })
|
|
|
|
|
|
+import axios from "axios"
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
|
+ getRelicList: function() {
|
|
|
|
+ return axios({
|
|
|
|
+ method: 'get',
|
|
|
|
+ url: `${process.env.VUE_APP_DEPLOY_ORIGIN}/api/show/visit/getList`,
|
|
|
|
+ // headers: {
|
|
|
|
+ // appId: "CA02F83A5FA162B930AA2F962D202F43B0F6DE0B51AD79FEDB03FA8202BB4909330105B3B347510D87C97060C4288280D4A744E00565A4EC",
|
|
|
|
+ // "Content-Type": "application/json",
|
|
|
|
+ // },
|
|
|
|
+ params: {
|
|
|
|
+ type: 'scene',
|
|
|
|
+ },
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ return res.data.data
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|