piupuer / gin-web

由gin + gorm + jwt + casbin组合实现的RBAC权限管理脚手架Golang版, 搭建完成即可快速、高效投入业务开发

Home Page:https://piupuer.github.io/gin-web-slate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

小问题:启用redis时登录失败

ccfish86 opened this issue · comments

use-redis: true时,登录失败,好像是Redis没有初始化数据。

另外 端口:10000 被 百度网盘占用了,导致无法使用127.0.0.1:10000调用接口(这个困扰了我一段时间),
image

redis无法同步数据

  1. 检查redis是否开启,连接地址是否正常
  2. 检查mysql是否开启binlog日志同步
show variables like 'log_bin';
  1. 检查错误日志输出

端口占用

  1. 修改后端配置

  2. 前端