|
@@ -163,6 +163,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
+ import md5 from 'js-md5'
|
|
|
export default {
|
|
|
name: 'businessEnter',
|
|
|
layout: 'main',
|
|
@@ -249,9 +250,10 @@
|
|
|
imgSrc.setAttribute('src', this.address + '/sso/resetPwd/checkCaptcha?timestamp=' + (new Date()).valueOf())
|
|
|
},
|
|
|
getCode () {
|
|
|
+ let md5Code = md5(`{mobile=${this.enterprise.mobile},code=${this.enterprise.ImgCode},salt=sso}`)
|
|
|
this.showLoading = true
|
|
|
if (this.mobileChecked) {
|
|
|
- this.$http.get(`${this.address}/sso/userspace/register/checkCode`, {params: {mobile: this.enterprise.mobile, timestamp: new Date().getTime() + '', code: this.enterprise.ImgCode}})
|
|
|
+ this.$http.get(`${this.address}/sso/userspace/register/checkCode`, {params: {mobile: this.enterprise.mobile, timestamp: new Date().getTime() + '', code: this.enterprise.ImgCode, sign: md5Code}})
|
|
|
.then(response => {
|
|
|
this.showLoading = false
|
|
|
if (response.data) {
|