src/main/java/com/moon/server/mapper/sys/TokenMapper.java
@@ -44,7 +44,15 @@ public TokenEntity selectToken(int id); /** * 根据token值查询一条记录 * 根据id查询一条记录 * * @param id * @return */ public TokenEntity selectOneById(Integer id); /** * 根据token查询一条记录 * * @param token * @return