Browse Source

处理个人注册后跳转到应用并登入

wangcz 7 years ago
parent
commit
09a8fda119

+ 2 - 2
components/certification/EnterpriseCertification.vue

@@ -18,7 +18,7 @@
                         auto-complete="off"
                         placeholder="企业名称"
               ></el-input>
-              <span class="tip exist" v-show="isSpaceNameValid">该企业已被认证,请确认。<a href="https://www.ubtob.com/contact">仍有问题?</a></span>
+              <span class="tip exist" v-show="isSpaceNameValid">该企业已被认证,请确认。<a href="https://www.usoftchina.com/contact">仍有问题?</a></span>
             </el-form-item>
             <el-form-item prop="businessCode">
               <el-input type="text"
@@ -26,7 +26,7 @@
                         v-bind:class="{ active: isBusinessCodeValid }"
                         auto-complete="off"
                         placeholder="营业执照号"></el-input>
-              <span class="tip exist" v-show="isBusinessCodeValid">该企业已被认证,请确认。<a href="https://www.ubtob.com/contact">仍有问题?</a></span>
+              <span class="tip exist" v-show="isBusinessCodeValid">该企业已被认证,请确认。<a href="https://www.usoftchina.com/contact">仍有问题?</a></span>
             </el-form-item>
             <el-form-item class="padding55">
               <a class="x-btn-blank" title="上传营业执照扫描件" v-bind:class="{ correct: uploadFileChecked }">

+ 1 - 1
components/certification/RealNameCertification.vue

@@ -21,7 +21,7 @@
                         auto-complete="off"
                         v-bind:class="{ active: idCardHasCertification }"
                         placeholder="身份证号"></el-input>
-              <span class="tip" v-show="idCardHasCertification">身份已被认证,请确认。<a href="https://www.ubtob.com/contact">仍有问题?</a></span>
+              <span class="tip" v-show="idCardHasCertification">身份已被认证,请确认。<a href="https://www.usoftchina.com/contact">仍有问题?</a></span>
             </el-form-item>
             <el-form-item>
               <a class="btn finish"

+ 1 - 1
components/default/AccountCenterHeader.vue

@@ -3,7 +3,7 @@
     <nav class="navbar">
       <div class="navbar-container container">
         <div class="navbar-header">
-          <a href="http://www.ubtob.com" class="item navbar-link">
+          <a href="http://www.usoftchina.com" class="item navbar-link">
             <img src="https://dfs.ubtob.com/group1/M00/CE/BF/CgpkyFuvP4iAFe9KAAACmOA87F0986.png" class="navbar-logo">
           </a>
           <a href=""><span class="navbar-slogan">账号中心</span></a>

+ 1 - 1
components/default/CloudHeader.vue

@@ -3,7 +3,7 @@
     <nav class="navbar">
       <div class="navbar-container container">
         <div class="navbar-header">
-          <a href="http://www.ubtob.com" class="item navbar-link">
+          <a href="http://www.usoftchina.com" class="item navbar-link">
             <img src="/images/logo/uas.png" class="navbar-logo">
           </a>
           <a href=""><span class="navbar-slogan">云中心</span></a>

+ 2 - 2
components/default/CommonFooter.vue

@@ -8,8 +8,8 @@
           <li><a href="#">服务条款 </a></li>
         </ul>
         <ul class="list-inline">
-          <li><a href="http://www.ubtob.com">优软云首页 </a></li>
-          <li><a href="http://mall.ubtob.com">优软商城 </a></li>
+          <li><a href="http://www.usoftchina.com">优软云首页 </a></li>
+          <li><a href="http://mall.usoftchina.com">优软商城 </a></li>
           <li><a href="http://finance.ubtob.com">金融服务 </a></li>
           <li><a href="http://public.ubtob.com">公共服务 </a></li>
           <li><a href="http://open.ubtob.com">开放平台 </a></li>

+ 1 - 1
components/default/ManualAppealHeader.vue

@@ -3,7 +3,7 @@
     <nav class="navbar">
       <div class="navbar-container container">
         <div class="navbar-header">
-          <a href="http://www.ubtob.com" class="item navbar-link">
+          <a href="http://www.usoftchina.com" class="item navbar-link">
             <img src="/images/logo/uas.png" class="navbar-logo">
           </a>
           <a href=""><span class="navbar-slogan">人工申诉</span></a>

+ 1 - 1
components/login/Footer.vue

@@ -8,7 +8,7 @@
           <li><a href="#">服务条款 </a></li>
         </ul>
         <ul class="list-inline">
-          <li><a href="http://www.ubtob.com">优软云首页 </a></li>
+          <li><a href="http://www.usoftchina.com">优软云首页 </a></li>
           <li><a href="http://mall.ubtob.com">优软商城 </a></li>
           <li><a href="http://finance.ubtob.com">金融服务 </a></li>
           <li><a href="http://public.ubtob.com">公共服务 </a></li>

+ 2 - 2
components/login/Login.vue

@@ -687,9 +687,9 @@
           }
         }
         Promise.all(promises).then(() => {
-          crossAfter(response.data.content.returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(response.data.content.returnUrl || 'http://www.usoftchina.com', timeout)
         }).catch(() => {
-          crossAfter(response.data.content.returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(response.data.content.returnUrl || 'http://www.usoftchina.com', timeout)
         })
       },
       getCheckCode () {

+ 2 - 2
components/mobile/loginMobile.vue

@@ -369,9 +369,9 @@
           }
         }
         Promise.all(promises).then(() => {
-          crossAfter(response.data.content.returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(response.data.content.returnUrl || 'http://www.usoftchina.com', timeout)
         }).catch(() => {
-          crossAfter(response.data.content.returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(response.data.content.returnUrl || 'http://www.usoftchina.com', timeout)
         })
       },
       // 碧合绑定账号

+ 7 - 4
components/mobile/registerEnterprise/index.vue

@@ -475,7 +475,10 @@
                     timeout: 3000
                   }, (err, data) => {
                     if (err) {
-                      this.$message.error('注册成功,请点击下方“立即登录”完成登录')
+                      this.$toast({
+                        message: '注册成功,请返回应用登录',
+                        iconClass: 'el-icon-success'
+                      })
                       this.isShowLoading = false
                       throw err
                     } else {
@@ -570,11 +573,11 @@
             promises.push(this.getJsonp(`${response.data.content.loginUrls[i]}?${a}`))
           }
         }
-        let returnUrl = decodeURIComponent(this.$route.query.returnURL)
+        let returnUrl = this.$route.query.returnURL ? decodeURIComponent(this.$route.query.returnURL) : 'https://www.usoftchina.com/'
         Promise.all(promises).then(() => {
-          crossAfter(returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(returnUrl, timeout)
         }).catch(() => {
-          crossAfter(returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(returnUrl, timeout)
         })
       }
     }

+ 36 - 12
components/mobile/registerPersonal/index.vue

@@ -343,7 +343,10 @@
                       timeout: 3000
                     }, (err, data) => {
                       if (err) {
-                        this.$message.error('注册成功,请点击下方“立即登录”完成登录')
+                        this.$toast({
+                          message: '注册成功,请返回应用登录',
+                          iconClass: 'el-icon-success'
+                        })
                         this.isShowLoading = false
                         throw err
                       } else {
@@ -354,8 +357,12 @@
                     this.loginOther(response, params, 3000)
                   }
                 } else {
-                  let userUU = response.data.content.userUU
-                  window.location.href = `/overRegister/${userUU}`
+                  let userUU = response.data.content.data.userUU
+                  if (userUU) {
+                    window.location.href = `/overRegister/${userUU}`
+                  } else {
+                    window.location.href = `/`
+                  }
                 }
               } else if (response.data.error) {
                 this.$toast({
@@ -399,6 +406,10 @@
             .then(response => {
               this.$indicator.close()
               if (response.data.success) {
+                this.$toast({
+                  message: '注册成功。登陆密码已发送至您的手机,请妥善保管!',
+                  iconClass: 'el-icon-success'
+                })
                 if (response.data.content.data) {
                   let param = response.data.content.data
                   let a = ''
@@ -413,7 +424,10 @@
                       timeout: 3000
                     }, (err, data) => {
                       if (err) {
-                        this.$message.error('注册成功,请点击下方“立即登录”完成登录')
+                        this.$toast({
+                          message: '注册成功,请返回应用登录',
+                          iconClass: 'el-icon-success'
+                        })
                         this.isShowLoading = false
                         throw err
                       } else {
@@ -421,11 +435,15 @@
                       }
                     })
                   } else {
-                    this.loginOther(response, params, 3000)
+                    this.loginOther(response, params, 5000)
                   }
                 } else {
-                  let userUU = response.data.content.userUU
-                  window.location.href = `/overRegister/${userUU}`
+                  let userUU = response.data.content.data.userUU
+                  if (userUU) {
+                    window.location.href = `/overRegister/${userUU}`
+                  } else {
+                    window.location.href = `/`
+                  }
                 }
               } else if (response.data.error) {
                 this.$toast({
@@ -462,9 +480,15 @@
           })
         })
       },
-      crossAfter (url) {
+      crossAfter (url, time) {
         try {
-          window.location.href = url
+          if (time) {
+            setTimeout(function () {
+              window.location.href = url
+            }, time)
+          } else {
+            window.location.href = url
+          }
         } catch (err) {
           console.log(err)
         }
@@ -477,11 +501,11 @@
             promises.push(this.getJsonp(`${response.data.content.loginUrls[i]}?${a}`))
           }
         }
-        let returnUrl = decodeURIComponent(this.$route.query.returnURL)
+        let returnUrl = this.$route.query.returnURL ? decodeURIComponent(this.$route.query.returnURL) : 'https://www.usoftchina.com/'
         Promise.all(promises).then(() => {
-          crossAfter(returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(returnUrl, timeout)
         }).catch(() => {
-          crossAfter(returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(returnUrl, timeout)
         })
       }
     }

+ 26 - 52
components/register/EnterpriseRegistration.vue

@@ -73,7 +73,7 @@
                         v-bind:class="{ active: isBusinessCodeExist }"
                         auto-complete="off"
                         placeholder="营业执照号"></el-input>
-              <span class="tip exist" v-show="isBusinessCodeExist">{{businessCodeExitMsg}}。<a href="https://www.ubtob.com/contact">仍有问题?</a></span>
+              <span class="tip exist" v-show="isBusinessCodeExist">{{businessCodeExitMsg}}。<a href="https://www.usoftchina.com/contact">仍有问题?</a></span>
             </el-form-item>
             <el-form-item prop="vipName" v-if="!isHasRegister">
               <el-input type="text" v-model="enterprise1.vipName" auto-complete="off" placeholder="管理员姓名"></el-input>
@@ -797,54 +797,28 @@
             this.isShowLoading = false
             if (response.data.success) {
               if (response.data.content) {
-                if (response.data.content.type === 'mall') {
-                  let param = response.data.content.data
-                  let a = ''
-                  for (let n in param) {
-                    a += (n + '=' + encodeURIComponent(param[n]) + '&')
-                  }
-                  let params = a.substr(0, a.length - 1)
-                  this.isShowLoading = true
-                  if (response.data.content.currentUrl) {
-                    this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
-                      name: 'successCallback',
-                      timeout: 3000
-                    }, (err, data) => {
-                      if (err) {
-                        this.$message.error('注册成功,请点击下方“立即登录”完成登录')
-                        this.isShowLoading = false
-                        throw err
-                      } else {
-                        this.loginOther(response, params)
-                      }
-                    })
-                  } else {
-                    this.loginOther(response, params, 3000)
-                  }
-                } else if (response.data.content.type === 'city') {
-                  let param = response.data.content.data
-                  let a = ''
-                  for (let n in param) {
-                    a += (n + '=' + encodeURIComponent(param[n]) + '&')
-                  }
-                  let params = a.substr(0, a.length - 1)
-                  this.isShowLoading = true
-                  if (response.data.content.currentUrl) {
-                    this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
-                      name: 'successCallback',
-                      timeout: 3000
-                    }, (err, data) => {
-                      if (err) {
-                        this.$message.error('注册成功,请点击下方“立即登录”完成登录')
-                        this.isShowLoading = false
-                        throw err
-                      } else {
-                        this.loginCityOther(response, params)
-                      }
-                    })
-                  } else {
-                    this.loginCityOther(response, params, 3000)
-                  }
+                let param = response.data.content.data
+                let a = ''
+                for (let n in param) {
+                  a += (n + '=' + encodeURIComponent(param[n]) + '&')
+                }
+                let params = a.substr(0, a.length - 1)
+                this.isShowLoading = true
+                if (response.data.content.currentUrl) {
+                  this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
+                    name: 'successCallback',
+                    timeout: 3000
+                  }, (err, data) => {
+                    if (err) {
+                      this.$message.error('注册成功,请点击下方“立即登录”完成登录')
+                      this.isShowLoading = false
+                      throw err
+                    } else {
+                      response.data.content.type === 'city' ? this.loginCityOther(response, params) : this.loginOther(response, params)
+                    }
+                  })
+                } else {
+                  response.data.content.type === 'city' ? this.loginCityOther(response, params, 3000) : this.loginOther(response, params, 3000)
                 }
               } else {
                 let returnUrl = ''
@@ -891,11 +865,11 @@
             promises.push(this.getJsonp(`${response.data.content.loginUrls[i]}?${a}`))
           }
         }
-        let returnUrl = decodeURIComponent(this.$route.query.returnURL)
+        let returnUrl = this.$route.query.returnURL ? decodeURIComponent(this.$route.query.returnURL) : 'https://www.usoftchina.com/'
         Promise.all(promises).then(() => {
-          crossAfter(returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(returnUrl, timeout)
         }).catch(() => {
-          crossAfter(returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(returnUrl, timeout)
         })
       },
       loginCityOther (response, a, timeout) {

+ 2 - 2
components/register/EnterpriseRegistrationSecondStep.vue

@@ -9,7 +9,7 @@
                     auto-complete="off"
                     placeholder="企业名称"
           ></el-input>
-          <span class="tip exist" v-show="isSpaceNameExist">该企业已被注册,请确认。<a href="https://www.ubtob.com/contact">仍有问题?</a></span>
+          <span class="tip exist" v-show="isSpaceNameExist">该企业已被注册,请确认。<a href="https://www.usoftchina.com/contact">仍有问题?</a></span>
         </el-form-item>
         <el-form-item prop="businessCode">
           <el-input type="text"
@@ -17,7 +17,7 @@
                     v-bind:class="{ active: isBusinessCodeExist }"
                     auto-complete="off"
                     placeholder="营业执照号"></el-input>
-          <span class="tip exist" v-show="isBusinessCodeExist">该企业已被注册,请确认。<a href="https://www.ubtob.com/contact">仍有问题?</a></span>
+          <span class="tip exist" v-show="isBusinessCodeExist">该企业已被注册,请确认。<a href="https://www.usoftchina.com/contact">仍有问题?</a></span>
         </el-form-item>
         <el-form-item prop="vipName" v-if="!isHasRegister">
           <el-input type="text" v-model="enterprise1.vipName" auto-complete="off" placeholder="管理员姓名"></el-input>

+ 49 - 121
components/register/PersonalRegistration.vue

@@ -439,64 +439,7 @@
               .then(response => {
                 this.isShowLoading = false
                 if (response.data.success) {
-                  if (response.data.content.type) {
-                    if (response.data.content.type === 'mall') {
-                      let param = response.data.content.data
-                      let a = ''
-                      for (let n in param) {
-                        a += (n + '=' + encodeURIComponent(param[n]) + '&')
-                      }
-                      let params = a.substr(0, a.length - 1)
-                      this.isShowLoading = true
-                      if (response.data.content.currentUrl) {
-                        this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
-                          name: 'successCallback',
-                          timeout: 3000
-                        }, (err, data) => {
-                          if (err) {
-                            this.$message.error('注册成功,请点击下方“立即登录”完成登录')
-                            this.isShowLoading = false
-                            throw err
-                          } else {
-                            this.loginOther(response, params)
-                          }
-                        })
-                      } else {
-                        this.loginOther(response, params, 3000)
-                      }
-                    } else if (response.data.content.type === 'city') {
-                      let param = response.data.content.data
-                      let a = ''
-                      for (let n in param) {
-                        a += (n + '=' + encodeURIComponent(param[n]) + '&')
-                      }
-                      let params = a.substr(0, a.length - 1)
-                      this.isShowLoading = true
-                      if (response.data.content.currentUrl) {
-                        this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
-                          name: 'successCallback',
-                          timeout: 3000
-                        }, (err, data) => {
-                          if (err) {
-                            this.$message.error('注册成功,请点击下方“立即登录”完成登录')
-                            this.isShowLoading = false
-                            throw err
-                          } else {
-                            this.loginCityOther(response, params)
-                          }
-                        })
-                      } else {
-                        this.loginCityOther(response, params, 3000)
-                      }
-                    }
-                  } else {
-                    let userUU = response.data.content.userUU
-                    let returnUrl = ''
-                    if (this.$route.query.returnURL) {
-                      returnUrl = decodeURIComponent(this.$route.query.returnURL)
-                    }
-                    window.location.href = returnUrl || `/overRegister/${userUU}`
-                  }
+                  this.loginStepOther(response)
                 } else {
                   return Promise.reject(response.data)
                 }
@@ -557,64 +500,14 @@
             .then(response => {
               this.isShowLoading = false
               if (response.data.success) {
-                if (response.data.content.type) {
-                  if (response.data.content.type === 'mall') {
-                    let param = response.data.content.data
-                    let a = ''
-                    for (let n in param) {
-                      a += (n + '=' + encodeURIComponent(param[n]) + '&')
-                    }
-                    let params = a.substr(0, a.length - 1)
-                    this.isShowLoading = true
-                    if (response.data.content.currentUrl) {
-                      this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
-                        name: 'successCallback',
-                        timeout: 3000
-                      }, (err, data) => {
-                        if (err) {
-                          this.$message.error('注册成功,请点击下方“立即登录”完成登录')
-                          this.isShowLoading = false
-                          throw err
-                        } else {
-                          this.loginOther(response, params)
-                        }
-                      })
-                    } else {
-                      this.loginOther(response, params, 3000)
-                    }
-                  } else if (response.data.content.type === 'city') {
-                    let param = response.data.content.data
-                    let a = ''
-                    for (let n in param) {
-                      a += (n + '=' + encodeURIComponent(param[n]) + '&')
-                    }
-                    let params = a.substr(0, a.length - 1)
-                    this.isShowLoading = true
-                    if (response.data.content.currentUrl) {
-                      this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
-                        name: 'successCallback',
-                        timeout: 3000
-                      }, (err, data) => {
-                        if (err) {
-                          this.$message.error('注册成功,请点击下方“立即登录”完成登录')
-                          this.isShowLoading = false
-                          throw err
-                        } else {
-                          this.loginCityOther(response, params)
-                        }
-                      })
-                    } else {
-                      this.loginCityOther(response, params, 3000)
-                    }
-                  }
-                } else {
-                  let userUU = response.data.content.userUU
-                  let returnUrl = ''
-                  if (this.$route.query.returnURL) {
-                    returnUrl = decodeURIComponent(this.$route.query.returnURL)
-                  }
-                  window.location.href = returnUrl || `/overRegister/${userUU}`
-                }
+                this.$message({
+                  message: '注册成功。登陆密码已发送至您的手机,请妥善保管!',
+                  type: 'success'
+                })
+                let _this = this
+                setTimeout(function () {
+                  _this.loginStepOther(response)
+                }, 5000)
               } else {
                 return Promise.reject(response.data)
               }
@@ -715,9 +608,44 @@
           })
         })
       },
-      crossAfter (url) {
+      loginStepOther (response) {
+        if (response.data.content.type) {
+          let param = response.data.content.data
+          let a = ''
+          for (let n in param) {
+            a += (n + '=' + encodeURIComponent(param[n]) + '&')
+          }
+          let params = a.substr(0, a.length - 1)
+          this.isShowLoading = true
+          if (response.data.content.currentUrl) {
+            this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
+              name: 'successCallback',
+              timeout: 3000
+            }, (err, data) => {
+              if (err) {
+                this.$message.error('注册成功,请点击下方“立即登录”完成登录')
+                this.isShowLoading = false
+                throw err
+              } else {
+                response.data.content.type === 'city' ? this.loginCityOther(response, params) : this.loginOther(response, params)
+              }
+            })
+          } else {
+            response.data.content.type === 'city' ? this.loginCityOther(response, params, 5000) : this.loginOther(response, params, 5000)
+          }
+        } else {
+          window.location.href = `https://www.usoftchina.com/`
+        }
+      },
+      crossAfter (url, time) {
         try {
-          window.location.href = url
+          if (time) {
+            setTimeout(function () {
+              window.location.href = url
+            }, time)
+          } else {
+            window.location.href = url
+          }
         } catch (err) {
           console.log(err)
         }
@@ -730,11 +658,11 @@
             promises.push(this.getJsonp(`${response.data.content.loginUrls[i]}?${a}`))
           }
         }
-        let returnUrl = decodeURIComponent(this.$route.query.returnURL)
+        let returnUrl = this.$route.query.returnURL ? decodeURIComponent(this.$route.query.returnURL) : 'https://www.usoftchina.com/'
         Promise.all(promises).then(() => {
-          crossAfter(returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(returnUrl, timeout)
         }).catch(() => {
-          crossAfter(returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(returnUrl, timeout)
         })
       },
       loginCityOther (response, a, timeout) {

+ 1 - 1
nuxt.config.js

@@ -1,6 +1,6 @@
 const path = require('path')
 const isProdMode = Object.is(process.env.NODE_ENV, 'production')
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'https://sso.usoftchina.com/' : 'http://188.131.128.107:24004/')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'https://sso.ubtob.com/' : 'https://test-sso-server.uuzcc.cn/')
 
 module.exports = {
   router: {

+ 4 - 4
pages/agency/index.vue

@@ -89,7 +89,7 @@
                         iconClass: 'el-icon-error'
                       })
                       setTimeout(() => {
-                        crossAfter(response.data.content.returnUrl || 'http://www.ubtob.com')
+                        crossAfter(response.data.content.returnUrl || 'http://www.usoftchina.com')
                       }, 1000)
                       throw err
                     } else {
@@ -100,7 +100,7 @@
                   this.loginOther(response, params, 3000)
                 }
               } else {
-                window.location.href = response.data.content.returnUrl || 'http://www.ubtob.com'
+                window.location.href = response.data.content.returnUrl || 'http://www.usoftchina.com'
               }
             } else {
               return Promise.reject(response.data)
@@ -140,9 +140,9 @@
           }
         }
         Promise.all(promises).then(() => {
-          crossAfter(response.data.content.returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(response.data.content.returnUrl || 'http://www.usoftchina.com', timeout)
         }).catch(() => {
-          crossAfter(response.data.content.returnUrl || 'http://www.ubtob.com', timeout)
+          crossAfter(response.data.content.returnUrl || 'http://www.usoftchina.com', timeout)
         })
       }
     }

+ 2 - 2
pages/logquit/index.vue

@@ -78,9 +78,9 @@
           }
         }
         Promise.all(promises).then(() => {
-          crossAfter(response.data.content.returnURL || 'http://www.ubtob.com', timeout)
+          crossAfter(response.data.content.returnURL || 'http://www.usoftchina.com', timeout)
         }).catch(() => {
-          crossAfter(response.data.content.returnURL || 'http://www.ubtob.com', timeout)
+          crossAfter(response.data.content.returnURL || 'http://www.usoftchina.com', timeout)
         })
       }
     }

+ 1 - 1
pages/overRegister/_uuid.vue

@@ -135,7 +135,7 @@
       },
       methods: {
         jump () {
-          window.location.href = 'https://www.ubtob.com/'
+          window.location.href = 'https://www.usoftchina.com/'
         }
       }
     }

+ 1 - 1
pages/overRegister/overEnterprise.vue

@@ -145,7 +145,7 @@
     },
     methods: {
       jump () {
-        window.location.href = 'https://www.ubtob.com/'
+        window.location.href = 'https://www.usoftchina.com/'
       }
     }
   }