|
@@ -41,12 +41,12 @@ public class SmsAuthCodeController {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 获取验证码接口
|
|
* 获取验证码接口
|
|
- *
|
|
|
|
|
|
+ * 废弃不用(有漏洞). 2024-09-30 by wuchf
|
|
* @param request
|
|
* @param request
|
|
* @param response
|
|
* @param response
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/getAuthCode", method = {RequestMethod.GET, RequestMethod.POST})
|
|
|
|
|
|
+ // @RequestMapping(value = "/getAuthCode", method = {RequestMethod.GET, RequestMethod.POST})
|
|
public @ResponseBody
|
|
public @ResponseBody
|
|
String authCode(HttpServletRequest request, HttpServletResponse response) {
|
|
String authCode(HttpServletRequest request, HttpServletResponse response) {
|
|
|
|
|
|
@@ -78,12 +78,12 @@ public class SmsAuthCodeController {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 获取验证码接口
|
|
* 获取验证码接口
|
|
- *
|
|
|
|
|
|
+ * 废弃不用(有漏洞). 2024-09-30 by wuchf
|
|
* @param request
|
|
* @param request
|
|
* @param response
|
|
* @param response
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/getSunMeiAuthCode", method = {RequestMethod.GET, RequestMethod.POST})
|
|
|
|
|
|
+ //@RequestMapping(value = "/getSunMeiAuthCode", method = {RequestMethod.GET, RequestMethod.POST})
|
|
public @ResponseBody
|
|
public @ResponseBody
|
|
void getSunMeiAuthCode(HttpServletRequest request, HttpServletResponse response) {
|
|
void getSunMeiAuthCode(HttpServletRequest request, HttpServletResponse response) {
|
|
|
|
|
|
@@ -129,12 +129,12 @@ public class SmsAuthCodeController {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 获取验证码接口 新
|
|
* 获取验证码接口 新
|
|
- *
|
|
|
|
|
|
+ * 废弃不用(有漏洞). 2024-09-30 by wuchf
|
|
* @param request
|
|
* @param request
|
|
* @param response
|
|
* @param response
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/getAuthCodeNew", method = {RequestMethod.GET, RequestMethod.POST})
|
|
|
|
|
|
+ // @RequestMapping(value = "/getAuthCodeNew", method = {RequestMethod.GET, RequestMethod.POST})
|
|
public @ResponseBody
|
|
public @ResponseBody
|
|
AppResultDto authCodeNew(HttpServletRequest request, HttpServletResponse response) {
|
|
AppResultDto authCodeNew(HttpServletRequest request, HttpServletResponse response) {
|
|
String userMobile = request.getParameter("userMobile");
|
|
String userMobile = request.getParameter("userMobile");
|