|
@@ -7,15 +7,16 @@ import (
|
|
|
"encoding/base64"
|
|
|
"github.com/gogf/gf/v2/util/gconv"
|
|
|
"github.com/tjfoc/gmsm/sm4"
|
|
|
+ "log"
|
|
|
)
|
|
|
|
|
|
type InfoService struct {
|
|
|
}
|
|
|
|
|
|
func (l *InfoService) Myinfo(sid string) map[string]interface{} {
|
|
|
+ log.Println("1111", sid)
|
|
|
infoMap := map[string]interface{}{}
|
|
|
info_i := redis.Get("session", sid)
|
|
|
-
|
|
|
if info_i != nil {
|
|
|
info_m, _ := info_i.(map[string]interface{})
|
|
|
entRole := common.Int64All(info_m["entRole"])
|