登录修改
This commit is contained in:
@@ -293,6 +293,8 @@ export default {
|
|||||||
const hide = this.$message.loading('验证码发送中..', 0)
|
const hide = this.$message.loading('验证码发送中..', 0)
|
||||||
let smsParams = {}
|
let smsParams = {}
|
||||||
smsParams.phone = values.username
|
smsParams.phone = values.username
|
||||||
|
// 登录--1
|
||||||
|
smsParams.codeType = 1
|
||||||
let interval
|
let interval
|
||||||
getAction('/company/sendVerificationCode', smsParams)
|
getAction('/company/sendVerificationCode', smsParams)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
|
|||||||
@@ -255,7 +255,9 @@ export default {
|
|||||||
if (!err) {
|
if (!err) {
|
||||||
const hide = this.$message.loading('验证码发送中..', 0)
|
const hide = this.$message.loading('验证码发送中..', 0)
|
||||||
let smsParams = {
|
let smsParams = {
|
||||||
phone: phone
|
phone: phone,
|
||||||
|
// 忘记密码是2
|
||||||
|
codeType: 2
|
||||||
}
|
}
|
||||||
getAction('/company/sendVerificationCode', smsParams).then(res => {
|
getAction('/company/sendVerificationCode', smsParams).then(res => {
|
||||||
if (!res.success) {
|
if (!res.success) {
|
||||||
|
|||||||
+2
-2
@@ -79,7 +79,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
devServer: {
|
devServer: {
|
||||||
port: 21826,
|
port: 3001,
|
||||||
proxy: {
|
proxy: {
|
||||||
/* '/api': {
|
/* '/api': {
|
||||||
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', //mock API接口系统
|
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', //mock API接口系统
|
||||||
@@ -90,7 +90,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},*/
|
},*/
|
||||||
'/jero-boot': {
|
'/jero-boot': {
|
||||||
target: 'http://localhost:21824', //请求本地 jero-boot后台项目
|
target: 'http://localhost:8080', //请求本地 jero-boot后台项目
|
||||||
ws: false,
|
ws: false,
|
||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user