cuiqian2004
2024-06-12 6050beb7c315bb0450e7c039a0455b96d4c1ce8f
store/index.js
@@ -11,6 +11,7 @@
   },
   state: {
      hasLogin: false,
      deviceId:'',
      apkVersionInfo: "",
      loginProvider: "",
      areaFunc:'',
@@ -38,6 +39,9 @@
      OIMongodbSvr: '' //115.29.185.26:5201
   },
   mutations: {
      setDeviceId(state, ret) {
         state.deviceId = ret;
      },
      setUrl(state, url) {
         state.url = url;
      },
@@ -124,6 +128,9 @@
      },
   },
   getters: {
      getDeviceId(state, ret) {
         return state.deviceId
      },
      GetApkServionInfo(state) {
         return state.apkVersionInfo
      },
@@ -264,10 +271,14 @@
                  app_type: "mobox",
                  user_login: Base64.encode(univerifyInfo.uname),
                  user_psw: Base64.encode(univerifyInfo.pwd),
                  client_info:{
                     type: 3, //客户端类型:0–PC,1–WEB,2–安卓,3–安卓PAD,4–iPhone, 5–iPad, 6–其它
                     num: state.deviceId  //PDA的设备号
                  }
               };
               header={};
            }
            console.log(univerifyInfo);
            uni.request({
               url: url,
               data: univerifyInfo,