Commit 8ea7cd487885bda3c74ae48400cf63f09938d6eb
Merge branch 'ft-dev' into 'main'
fix:移除未使用的appid和appsecrect See merge request huang/thingskit-app!66
Showing
3 changed files
with
10 additions
and
12 deletions
| 1 | -/** | ||
| 2 | - * 需要修改 | ||
| 3 | - */ | ||
| 4 | -const APPID = 'wx99c411dc3c5571ef' | ||
| 5 | -const APPSECRECT = '606153abd59308b20a6e41fb6c852ad2' | 1 | +// /** | 
| 2 | +// * 需要修改 | ||
| 3 | +// */ | ||
| 4 | +// const APPID = 'wx99c411dc3c5571ef' | ||
| 5 | +// const APPSECRECT = '606153abd59308b20a6e41fb6c852ad2' | ||
| 6 | 6 | ||
| 7 | -module.exports = { | ||
| 8 | - appId: APPID, | ||
| 9 | - appSecrect: APPSECRECT, | ||
| 10 | -}; | 7 | +// module.exports = { | 
| 8 | +// appId: APPID, | ||
| 9 | +// appSecrect: APPSECRECT, | ||
| 10 | +// }; | 
| @@ -127,7 +127,6 @@ import base from '@/config/baseUrl'; | @@ -127,7 +127,6 @@ import base from '@/config/baseUrl'; | ||
| 127 | import fTabbar from '@/components/module/f-tabbar/f-tabbar'; | 127 | import fTabbar from '@/components/module/f-tabbar/f-tabbar'; | 
| 128 | import fNavbar from '@/components/module/f-navbar/f-navbar'; | 128 | import fNavbar from '@/components/module/f-navbar/f-navbar'; | 
| 129 | import { mapState, mapMutations } from 'vuex'; | 129 | import { mapState, mapMutations } from 'vuex'; | 
| 130 | -import { appId } from '@/config/constant.js'; | ||
| 131 | 130 | ||
| 132 | export default { | 131 | export default { | 
| 133 | components: { | 132 | components: { | 
| @@ -49,7 +49,6 @@ import { mapMutations, mapActions } from 'vuex'; | @@ -49,7 +49,6 @@ import { mapMutations, mapActions } from 'vuex'; | ||
| 49 | import { loginApp } from '@/config/login'; | 49 | import { loginApp } from '@/config/login'; | 
| 50 | import baseUrl from '@/config/baseUrl.js'; | 50 | import baseUrl from '@/config/baseUrl.js'; | 
| 51 | import WXBizDataCrypt from '@/config/WXBizDataCrypt.js'; | 51 | import WXBizDataCrypt from '@/config/WXBizDataCrypt.js'; | 
| 52 | -import { appId, appSecrect } from '@/config/constant.js'; | ||
| 53 | 52 | ||
| 54 | export default { | 53 | export default { | 
| 55 | data() { | 54 | data() { | 
| @@ -127,7 +126,7 @@ export default { | @@ -127,7 +126,7 @@ export default { | ||
| 127 | this.setUserInfo(userInfo); | 126 | this.setUserInfo(userInfo); | 
| 128 | } | 127 | } | 
| 129 | uni.showToast({ | 128 | uni.showToast({ | 
| 130 | - title: '第三方账号登录成功~', | 129 | + title: '第三方账号登录成功', | 
| 131 | icon: 'none' | 130 | icon: 'none' | 
| 132 | }).then(async res => { | 131 | }).then(async res => { | 
| 133 | this.saveUserInfo(); | 132 | this.saveUserInfo(); |