新增处方平台取消订单

This commit is contained in:
2023-09-13 10:49:42 +08:00
parent 6f77093b38
commit 29e05ef1ce
11 changed files with 391 additions and 13 deletions
-3
View File
@@ -1,7 +1,6 @@
package middlewares
import (
"fmt"
"github.com/gin-gonic/gin"
"hospital-admin-api/consts"
"hospital-admin-api/global"
@@ -30,8 +29,6 @@ func Jwt() gin.HandlerFunc {
// 检测是否存在黑名单
res, _ := global.Redis.Get(c, "jwt_black_"+authorization).Result()
fmt.Println(res)
if res != "" {
c.JSON(http.StatusOK, gin.H{
"message": "token错误/过期",