Commit 39aaab4c authored by yinjiacheng's avatar yinjiacheng

update 管理中心发布商品和商品管理取消权限控制

parent 7dcaab3f
......@@ -7,7 +7,6 @@ import com.yidian.bcommon.constant.XRouterPathConstants
import com.yidian.bcommon.http.bean.GetCommonConfigBean
import com.yidian.bcommon.sdk.ClientType
import com.yidian.shenghuoquan.bmanagercenter.manager.LifeAccountManager
import com.yidian.shenghuoquan.bmanagercenter.ui.center.MerchantAuthManagementActivity
/**
* author: yinjiacheng
......@@ -139,9 +138,11 @@ object ManagerCenterConfig {
}
LifeAccountManager.LifeAccountTag.LIFE_ACCOUNT_TAG_PERSONAL_AUTH -> {
// 个人认证
// 我要发布-招聘 其他服务-职位管理 其他服务-系统设置 其他服务-认证管理
// 我要发布-商品 我要发布-招聘 其他服务-商品管理 其他服务-职位管理 其他服务-系统设置 其他服务-认证管理
return arrayListOf(
data[0].functions[0].functionId,
data[0].functions[1].functionId,
data[2].functions[0].functionId,
data[2].functions[1].functionId,
data[2].functions[3].functionId,
data[2].functions[4].functionId
......@@ -149,9 +150,11 @@ object ManagerCenterConfig {
}
LifeAccountManager.LifeAccountTag.LIFE_ACCOUNT_TAG_NOT_AUTH -> {
// 未认证
// 我要发布-招聘 其他服务-职位管理 其他服务-系统设置 其他服务-认证管理
// 我要发布-商品 我要发布-招聘 其他服务-商品管理 其他服务-职位管理 其他服务-系统设置 其他服务-认证管理
return arrayListOf(
data[0].functions[0].functionId,
data[0].functions[1].functionId,
data[2].functions[0].functionId,
data[2].functions[1].functionId,
data[2].functions[3].functionId,
data[2].functions[4].functionId
......@@ -159,9 +162,11 @@ object ManagerCenterConfig {
}
LifeAccountManager.LifeAccountTag.LIFE_ACCOUNT_TAG_AUDIT_UNDER -> {
// 审核中
// 我要发布-招聘 其他服务-职位管理 其他服务-系统设置 其他服务-认证管理
// 我要发布-商品 我要发布-招聘 其他服务-商品管理 其他服务-职位管理 其他服务-系统设置 其他服务-认证管理
return arrayListOf(
data[0].functions[0].functionId,
data[0].functions[1].functionId,
data[2].functions[0].functionId,
data[2].functions[1].functionId,
data[2].functions[3].functionId,
data[2].functions[4].functionId
......@@ -169,9 +174,11 @@ object ManagerCenterConfig {
}
LifeAccountManager.LifeAccountTag.LIFE_ACCOUNT_TAG_AUTH_REJECT -> {
// 认证驳回
// 我要发布-招聘 其他服务-职位管理 其他服务-系统设置 其他服务-认证管理
// 我要发布-商品 我要发布-招聘 其他服务-商品管理 其他服务-职位管理 其他服务-系统设置 其他服务-认证管理
return arrayListOf(
data[0].functions[0].functionId,
data[0].functions[1].functionId,
data[2].functions[0].functionId,
data[2].functions[1].functionId,
data[2].functions[3].functionId,
data[2].functions[4].functionId
......@@ -213,18 +220,22 @@ object ManagerCenterConfig {
}
LifeAccountManager.LifeAccountTag.LIFE_ACCOUNT_TAG_PERSONAL_AUTH -> {
// 个人认证
// 我要发布-招聘 其他服务-职位管理 其他服务-认证管理
// 我要发布-商品 我要发布-招聘 其他服务-商品管理 其他服务-职位管理 其他服务-认证管理
return arrayListOf(
data[0].functions[0].functionId,
data[0].functions[1].functionId,
data[2].functions[0].functionId,
data[2].functions[1].functionId,
data[2].functions[4].functionId
)
}
LifeAccountManager.LifeAccountTag.LIFE_ACCOUNT_TAG_NOT_AUTH -> {
// 未认证
// 我要发布-招聘 其他服务-职位管理 其他服务-认证管理
// 我要发布-商品 我要发布-招聘 其他服务-商品管理 其他服务-职位管理 其他服务-认证管理
return arrayListOf(
data[0].functions[0].functionId,
data[0].functions[1].functionId,
data[2].functions[0].functionId,
data[2].functions[1].functionId,
data[2].functions[4].functionId
)
......@@ -242,9 +253,11 @@ object ManagerCenterConfig {
}
LifeAccountManager.LifeAccountTag.LIFE_ACCOUNT_TAG_AUTH_REJECT -> {
// 认证驳回
// 我要发布-招聘 其他服务-职位管理 其他服务-认证管理
// 我要发布-商品 我要发布-招聘 其他服务-商品管理 其他服务-职位管理 其他服务-认证管理
return arrayListOf(
data[0].functions[0].functionId,
data[0].functions[1].functionId,
data[2].functions[0].functionId,
data[2].functions[1].functionId,
data[2].functions[4].functionId
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment