|
@@ -12,6 +12,7 @@ import (
|
|
|
"app.yhyue.com/moapp/jybase/date"
|
|
|
"app.yhyue.com/moapp/jybase/redis"
|
|
|
"bp.jydev.jianyu360.cn/BaseService/powerCheckCenter/entity"
|
|
|
+ "github.com/zeromicro/go-zero/core/logx"
|
|
|
)
|
|
|
|
|
|
//权益
|
|
@@ -47,6 +48,7 @@ var level_map = map[int64]string{
|
|
|
切换到企业身份后,session中userId存的是企业雇员的职位id,个人身份,userId还是原来mgo库里的_id
|
|
|
*/
|
|
|
func (this *PowerService) Power(userid string, baseUserId, accountId, entId, positionType, positionId int64) *entity.Power {
|
|
|
+ logx.Info("-----req------", userid, baseUserId, accountId, entId, positionType, positionId)
|
|
|
ent := &entity.Ent{}
|
|
|
entniche := &entity.Entniche{}
|
|
|
vip := &entity.Vip{}
|