소스 검색

客服对话

chenjj 3 달 전
부모
커밋
be042a4192
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      config.js
  2. 1 3
      store/modules/user.ts

+ 1 - 1
config.js

@@ -1,5 +1,5 @@
 const base_url = {
-  develop:'http://192.168.100.122:9527',//开发版 
+  develop:'http://192.168.100.128:9527',//开发版 
   // develop: 'https://yongc.top/prod-api',//开发版
   // develop: 'http://192.168.100.139:9527', //嵘哥
   // develop: 'https://yongc.top/prod-api',//体验版

+ 1 - 3
store/modules/user.ts

@@ -128,9 +128,7 @@ const user: Module<UserState, UserState> = {
           commit('SET_AVATAR', avatar)
           commit('SET_NICKNAME', res.user.nickName)
           commit('SET_USERID', res.user.userId)
-
-          uni.setStorageSync('userType', res.user.userId)
-
+          
           uni.$u.connectSoket(res.user.userId);