Administrator
2023-04-19 40ec16bbb7c9d23df625aa31ae42ac36e901749d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.mandi.common;
 
import javax.servlet.http.HttpSession;
 
public class Tokenmethod {
    @Deprecated
    public static boolean checkcertify(String certi,HttpSession session)
    {
        if(certi==null||session==null)
            return false;
        String scerti=session.getAttribute("certifycode")+"";
        if(certi.equals(scerti))
            return true;
        return false;
    }
}