You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
564 B
21 lines
564 B
package com.example.PersonalCenter;
|
|
|
|
public class Register {
|
|
String phonenumber;
|
|
String username;
|
|
String password;
|
|
public Register(String phonenumber, String username, String password){
|
|
this.phonenumber = phonenumber;
|
|
this.username = username;
|
|
this.password = password;
|
|
}
|
|
public boolean regist(){
|
|
String regRet = WebServicePost.execuHttpPost(username, phonenumber, password,"/Register");
|
|
if(regRet.equals("true")){
|
|
return true;
|
|
}else {
|
|
return false;
|
|
}
|
|
}
|
|
}
|