dev_tj
杨树明 5 years ago
parent 12ad095236
commit f38627348b

@ -194,13 +194,13 @@ class Trialapplication extends Component {
//短信验证 //短信验证
SMSverification = () => { SMSverification = () => {
let logins=this.state.login;
var url = `/accounts/get_verification_code.json`; var url = `/accounts/get_verification_code.json`;
axios.get((url), { axios.get((url), {
params: { params: {
login: this.state.login, login: this.state.login,
type: 3, type: 3,
smscode:setmiyah(this.state.logins) smscode:setmiyah(logins)
} }
}).then((result) => { }).then((result) => {
//验证有问题{"status":1,"message":"success"} //验证有问题{"status":1,"message":"success"}

@ -210,12 +210,13 @@ class Trialapplicationysl extends Component {
//短信验证 //短信验证
SMSverification = () => { SMSverification = () => {
let logins=this.state.login;
var url = `/accounts/get_verification_code.json`; var url = `/accounts/get_verification_code.json`;
axios.get((url), { axios.get((url), {
params: { params: {
login: this.state.login, login: this.state.login,
type: 3, type: 3,
smscode:setmiyah(this.state.logins) smscode:setmiyah(logins)
} }
}).then((result) => { }).then((result) => {
//验证有问题{"status":1,"message":"success"} //验证有问题{"status":1,"message":"success"}

@ -157,12 +157,13 @@ class LoginRegisterComponent extends Component {
} }
//短信验证 //短信验证
SMSverification = () => { SMSverification = () => {
let logins=this.state.login;
var url = `/accounts/get_verification_code.json`; var url = `/accounts/get_verification_code.json`;
axios.get((url), { axios.get((url), {
params: { params: {
login: this.state.login, login: this.state.login,
type: 2, type: 2,
smscode:setmiyah(this.state.logins) smscode:setmiyah(logins)
} }
}).then((result) => { }).then((result) => {
//验证有问题{"status":1,"message":"success"} //验证有问题{"status":1,"message":"success"}

@ -608,12 +608,13 @@ class LoginRegisterComponent extends Component {
}; };
//短信验证 //短信验证
SMSverification = () => { SMSverification = () => {
let logins=this.state.login;
var url = `/accounts/get_verification_code.json`; var url = `/accounts/get_verification_code.json`;
axios.get((url), { axios.get((url), {
params: { params: {
login: this.state.logins, login: this.state.logins,
type: 1, type: 1,
smscode:setmiyah(this.state.logins) smscode:setmiyah(logins)
} }
}).then((result) => { }).then((result) => {
//验证有问题{"status":1,"message":"success"} //验证有问题{"status":1,"message":"success"}

Loading…
Cancel
Save