wujunjie 8 years ago
parent
commit
154d0aebf2

+ 2 - 9
patient-co-wlyy/src/main/java/com/yihu/wlyy/interceptors/DoctorInterceptor.java

@ -1,11 +1,6 @@
package com.yihu.wlyy.interceptors;
import com.yihu.wlyy.entity.security.Token;
import com.yihu.wlyy.entity.url.CudUrl;
import com.yihu.wlyy.logs.InterfaceCallLogs;
import com.yihu.wlyy.util.DateUtil;
import com.yihu.wlyy.util.SystemConf;
import com.yihu.wlyy.util.SystemData;
import org.apache.commons.lang3.StringUtils;
import org.json.JSONObject;
import org.springframework.web.bind.annotation.RequestMapping;
@ -17,8 +12,6 @@ import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Method;
import java.util.Date;
import static org.bouncycastle.asn1.x500.style.RFC4519Style.uid;
/**
 * 医生权限校验
 *
@ -84,7 +77,7 @@ public class DoctorInterceptor extends BaseInterceptor {
                        response.getOutputStream().write(error(403, "该操作没有权限").getBytes());
                        return false;
                    }
                }*/
                }
                return true;
            }
@ -128,7 +121,7 @@ public class DoctorInterceptor extends BaseInterceptor {
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        }*/
        return flag;
    }