default code
This commit is contained in:
parent
328e148bb3
commit
899826cda4
|
|
@ -148,7 +148,7 @@ export default Form.create()(
|
|||
const { phone, logpassword} = getFieldsValue();
|
||||
if( phone && logpassword){
|
||||
current_user && Axios.patch(`/v1/${current_user.login}/update_phone.json`,{
|
||||
code:"111111", phone, password: Encrypt(logpassword)
|
||||
code:"123123", phone, password: Encrypt(logpassword)
|
||||
}).then(res=>{
|
||||
if(res && !res.data.status){
|
||||
setPassMap({logpassword: undefined, phone: undefined, code: undefined});
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ function Register(props){
|
|||
namespace: values.register_username.trim(),
|
||||
password: Encrypt(values.register_psd),
|
||||
password_confirmation: Encrypt(values.psdComfirm),
|
||||
code: "111111"
|
||||
code: "123123"
|
||||
}).then((response)=>{
|
||||
if(response.data && response.data.status === -6){
|
||||
//验证码不正确
|
||||
|
|
|
|||
Loading…
Reference in New Issue