|
@@ -595,8 +595,9 @@ func delRedisByPowerCheck(positionId string) bool {
|
|
|
func ResourcePowerHandle(identity *usercenter.Identity, waitEmpowerId, t int64) {
|
|
|
//如果是运营商数据定制及分析产品,调用资源中台,取消对应菜单权限
|
|
|
if JyMysql.CountBySql(`select count(1) as count from `+EntnicheWaitEmpower+` where id=? and product_type=?`, waitEmpowerId, YYSSJDZYFX) > 0 {
|
|
|
+ log.Println("-------", identity.EntId, waitEmpowerId, t)
|
|
|
if t == 1 {
|
|
|
- entity.ResourceRpc.Empower(context.Background(), &pb.EmpowerReq{
|
|
|
+ cc := entity.ResourceRpc.Empower(context.Background(), &pb.EmpowerReq{
|
|
|
Appid: "10000",
|
|
|
FunctionCode: "bi_sj_yyszs",
|
|
|
EntId: identity.EntId,
|