package eta_business import "eta/eta_forum_admin/utils" // 校验当前操作员是否具有联系人权限是否有操作权限 func CheckBusinessUserButton(roleTypeCode string, itemSellerId, sysUserId int) (ok bool) { if roleTypeCode == utils.ROLE_TYPE_CODE_ADMIN || roleTypeCode == utils.ROLE_TYPE_CODE_FICC_ADMIN { ok = true return } if sysUserId == itemSellerId { ok = true return } return }