فهرست منبع

屏蔽一些短信暴露接口

wuchangfu 1 ماه پیش
والد
کامیت
4788387486

+ 1 - 1
src/main/java/com/palmnest/webapp/controller/miniprogram/MiniProgramMealCardController.java

@@ -331,7 +331,7 @@ public class MiniProgramMealCardController {
 	 * @param request
 	 * @return
 	 */
-	@RequestMapping(value = "/getNeiGouSmsCode")
+	//@RequestMapping(value = "/getNeiGouSmsCode")
 	@ResponseBody
 	public AppResultDto getNeiGouSmsCode(HttpServletRequest request) {
 

+ 1 - 1
src/main/java/com/palmnest/webapp/controller/wechat/MeetingClientController.java

@@ -92,7 +92,7 @@ public class MeetingClientController {
 	 * @param phones
 	 * @return
 	 */
-	@RequestMapping(value = "/sendMsgMeeting")
+	//@RequestMapping(value = "/sendMsgMeeting")
 	@ResponseBody
 	public AppResultDto sendMsgMeeting(@RequestParam String clientCode, @RequestParam String content, @RequestParam String phones) {
 		if (!StringUtil.isNotEmpty(clientCode)) {

+ 2 - 2
src/main/java/com/palmnest/webapp/controller/wechat/NeigouNweController.java

@@ -257,7 +257,7 @@ public class NeigouNweController {
 	 * @param request
 	 * @return
 	 */
-	@RequestMapping(value = "/getNeiGouSmsCode")
+	// @RequestMapping(value = "/getNeiGouSmsCode")
 	@ResponseBody
 	public AppResultDto getNeiGouSmsCode(HttpServletRequest request) {
 
@@ -301,7 +301,7 @@ public class NeigouNweController {
 	 *
 	 * @return
 	 */
-	@RequestMapping("/neigouLogin")
+	//@RequestMapping("/neigouLogin")
 	@ResponseBody
 	public AppResultDto neigouLogin(HttpServletRequest request) {
 		JSONObject object = new JSONObject();

+ 6 - 6
src/main/java/com/palmnest/webapp/controller/wechat/SmsAuthCodeController.java

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

+ 4 - 4
src/main/java/com/palmnest/webapp/controller/wechat/WeChatIndexController.java

@@ -702,12 +702,12 @@ public class WeChatIndexController extends BaseFormController {
 	/**
 	 * 获取短信验证码
 	 * 校验白名单
-	 *
+	 *  废弃不用(有漏洞). 2024-09-30 by wuchf
 	 * @param request
 	 * @param response
 	 * @return
 	 */
-	@RequestMapping(value = "/getSmsCode")
+	//@RequestMapping(value = "/getSmsCode")
 	@ResponseBody
 	public AppResultDto getSmsCode(HttpServletRequest request, HttpServletResponse response) {
 
@@ -1239,11 +1239,11 @@ public class WeChatIndexController extends BaseFormController {
 
 	/**
 	 * 企业内购获取短信验证码
-	 *
+	 * 废弃不用(有漏洞). 2024-09-30 by wuchf
 	 * @param request
 	 * @return
 	 */
-	@RequestMapping(value = "/getNeiGouSmsCode")
+	//@RequestMapping(value = "/getNeiGouSmsCode")
 	@ResponseBody
 	public AppResultDto getNeiGouSmsCode(HttpServletRequest request) {