default code

This commit is contained in:
caishi 2025-03-27 13:36:41 +08:00
parent 328e148bb3
commit 899826cda4
2 changed files with 2 additions and 2 deletions

View File

@ -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});

View File

@ -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){
//