wangliuyang
2022-09-14 9d0d1b30e85f87a3a693bf2829f486a0b11f8d56
提交 | 用户 | 时间
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 }