|
@@ -1,6 +1,7 @@
|
|
package entity
|
|
package entity
|
|
|
|
|
|
import (
|
|
import (
|
|
|
|
+ "app.yhyue.com/moapp/jybase/date"
|
|
"encoding/json"
|
|
"encoding/json"
|
|
"fmt"
|
|
"fmt"
|
|
"strconv"
|
|
"strconv"
|
|
@@ -81,6 +82,8 @@ func (m *WorkDesktopMenu) AutoUserPowerInfo() map[string]int {
|
|
logx.Info(m.MgoUserId, m.PositionId, "------------------userInfoRpc-------------------------:", userInfoRpc)
|
|
logx.Info(m.MgoUserId, m.PositionId, "------------------userInfoRpc-------------------------:", userInfoRpc)
|
|
//权益中台获取权益
|
|
//权益中台获取权益
|
|
userPowers := userInfoRpc.GetUserPowers()
|
|
userPowers := userInfoRpc.GetUserPowers()
|
|
|
|
+ count := BaseMysql.SelectBySql(`select count(*) from entniche_wait_empower where ent_id=? and end_time>?`, m.EntId, time.Now().Format(date.Date_Full_Layout))
|
|
|
|
+ logx.Info(userPowers.Ent.Services, "----0000-----", count)
|
|
if userPowers != nil {
|
|
if userPowers != nil {
|
|
logx.Info(userInfoRpc.MgoUserId, "------------userPowers:", userPowers)
|
|
logx.Info(userInfoRpc.MgoUserId, "------------userPowers:", userPowers)
|
|
//注册时间
|
|
//注册时间
|