剥离im,剥离钱包

This commit is contained in:
唐明明
2022-03-17 13:28:10 +08:00
parent e4d73085bc
commit e07d40908b
62 changed files with 35 additions and 8220 deletions

View File

@@ -34,16 +34,9 @@
</template>
<script>
import {
getSms,
smsAuth
} from "@/apis/interfaces/auth";
import userAuth from "@/public/userAuth";
import {
getImToken
} from '@/apis/interfaces/im.js'
import im from '@/utils/im/index.js'
import { getSms, smsAuth } from "@/apis/interfaces/auth";
import userAuth from "@/public/userAuth";
export default {
data() {
return {
@@ -64,11 +57,6 @@
"setToken",
res.token_type + " " + res.access_token
);
// 在这里登录成功链接IM服务
getImToken().then(res => {
console.log('在这获取IM-TOKEN', res);
im.connect(res.token, res.userInfo, () => {})
})
this.$Router.back();
}).catch((err) => {
uni.showToast({