|
|
@@ -445,10 +445,10 @@ public class ModelServlet extends HttpServlet {
|
|
|
|
|
|
//
|
|
|
else if (action.equalsIgnoreCase("sendsms")) {
|
|
|
- String code = RandomStringUtils.randomNumeric(4);
|
|
|
DefaultProfile profile = DefaultProfile.getProfile("cn-hangzhou", "PXzJyah5rZfWHIIH", "e1MS6j0wypXJrw8CM0hObZu8qKbfah");
|
|
|
IAcsClient client = new DefaultAcsClient(profile);
|
|
|
String phone = CommentUtils.myToString(request.getParameter("phone"));
|
|
|
+ String code = CommentUtils.myToString(request.getParameter("code"));
|
|
|
|
|
|
CommonRequest rq = new CommonRequest();
|
|
|
rq.setMethod(MethodType.POST);
|