|
|
@@ -42,7 +42,7 @@ import java.util.Random;
|
|
|
@Path("webclientrest")
|
|
|
public class WebClientRest {
|
|
|
|
|
|
- private static String[] nocheckphonenumber = {"17357363127", "13805731234"};
|
|
|
+ private static String[] nocheckphonenumber = {""};
|
|
|
|
|
|
@POST
|
|
|
public String method(@Context HttpServletRequest request, String RequestContent) {
|
|
|
@@ -276,16 +276,7 @@ public class WebClientRest {
|
|
|
object.put("msg", "当前手机号未注册!");
|
|
|
return object.toString();
|
|
|
}
|
|
|
- if ("enterpriseweb".equalsIgnoreCase(client)) {
|
|
|
- SQLFactory sqlFactory = new SQLFactory(this, "企业账号权限组查询");
|
|
|
- sqlFactory.addParameter("fphonenumber", phonenumber);
|
|
|
- if (dbConnect.runSqlQuery(sqlFactory.getSQL()).isEmpty()) {
|
|
|
- JSONObject object = new JSONObject();
|
|
|
- object.put("code", 0);
|
|
|
- object.put("msg", "当前手机号没有有效的管理员账号!");
|
|
|
- return object.toString();
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
String password = createPassWord();
|
|
|
parameter.phonenumber_password.put(phonenumber, password);
|
|
|
Calendar calendar = Calendar.getInstance();
|