mirror of
				https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
				synced 2025-10-31 10:26:19 +08:00 
			
		
		
		
	add bypasswechat debug api
This commit is contained in:
		| @@ -80,6 +80,9 @@ public class Login extends HttpServlet { | ||||
| 				User u = TableUser.getById(Long.parseLong(request.getParameter("bypassuser"))); | ||||
| 				session.setAttribute(Attribute.USER, u); | ||||
| 			} | ||||
| 			if (request.getParameter("bypasswechat") != null) { | ||||
| 				session.setAttribute(Attribute.WECHAT, request.getParameter("bypasswechat")); | ||||
| 			} | ||||
|  | ||||
| 			return new Response(Response.ResponseCode.OK, sid); | ||||
| 		} catch (Exception e) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sola
					Sola