|
|
@@ -298,6 +298,17 @@ public class AuthService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 仅测试用<br/>
|
|
|
+ * 无需凭证一键登录
|
|
|
+ * @param unicode 唯一码
|
|
|
+ * @return 完整的response.body
|
|
|
+ */
|
|
|
+ public String logOrRegTestAccount(String unicode){
|
|
|
+ Account account =new Account("#Test"+unicode,"Test@"+unicode);
|
|
|
+ return logOrReg(account);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
public boolean sendPhoneCode(String phone) {
|
|
|
return phoneService.sendCode(phone);
|