|
@@ -85,34 +85,14 @@ export default {
|
|
|
init(){
|
|
|
axios({
|
|
|
method: 'get',
|
|
|
- url: 'https://smartpark.caih.com/zhcy/api/thirdparty/v1/open/getCanYinData',
|
|
|
+ url: process.env.VUE_APP_ZHCY_BASE_API+'/api/thirdparty/v1/open/getCanYinData',
|
|
|
timeout: 100000,
|
|
|
}).then(res =>{
|
|
|
this.data = res.data.data
|
|
|
console.log(res.data.data)
|
|
|
}).catch(err =>{
|
|
|
})
|
|
|
- // axios.post(`https://smartpark.caih.com/ykt/api/thirdparty/v1/open/getCanYinData`,
|
|
|
- // {
|
|
|
- // "nonce": Cookies.get("nonce58"),
|
|
|
- // "timestamp": Cookies.get("timestamp58"),
|
|
|
- // "query": {
|
|
|
- // "userNumber":Cookies.get("userId58"),
|
|
|
- // }
|
|
|
- // },
|
|
|
- // {headers: {
|
|
|
- // "XYTACCESSTOKEN":Cookies.get("token58")
|
|
|
- // }
|
|
|
- // }).then(res => {
|
|
|
- // if(res?.data?.data?.content){
|
|
|
- // this.adminList1 = res.data.data.content.slice(0,5)
|
|
|
- // this.loading1 = false
|
|
|
- // }else{
|
|
|
- // this.loading1 = false
|
|
|
- // }
|
|
|
- // }).catch(err =>{
|
|
|
- // Toast(err.response.data.message)
|
|
|
- // })
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|