hjg
2023-10-14 f6c2f15c37aef4675dda01fb5ec17cde4e141c3f
提交 | 用户 | 时间
58d006 1 package com.mandi.common;
A 2
3 import javax.servlet.http.HttpSession;
4
5 public class Tokenmethod {
6     @Deprecated
7     public static boolean checkcertify(String certi,HttpSession session)
8     {
9         if(certi==null||session==null)
10             return false;
11         String scerti=session.getAttribute("certifycode")+"";
12         if(certi.equals(scerti))
13             return true;
14         return false;
15     }
16 }