Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sobot_module_Dev
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sobot_android
Sobot_module_Dev
Commits
ce6aa716
Commit
ce6aa716
authored
Dec 15, 2023
by
zhengnw@sobot.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common 1.4.7 添加电销 电话条相关权限
parent
83a7661c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
77 deletions
+34
-77
build.gradle
sobot_common/build.gradle
+2
-2
sobot-common-publish-mavencentral.gradle
sobot_common/sobot-common-publish-mavencentral.gradle
+1
-2
SobotPermissionManager.java
...sobot/common/login/permission/SobotPermissionManager.java
+31
-73
No files found.
sobot_common/build.gradle
View file @
ce6aa716
...
@@ -11,7 +11,7 @@ android {
...
@@ -11,7 +11,7 @@ android {
//这里就是打jar包
//这里就是打jar包
task
makeJar
(
type:
Copy
)
{
task
makeJar
(
type:
Copy
)
{
//删除旧的jar包
//删除旧的jar包
delete
'build/libs/sobot_common_1.4.
5
.jar'
delete
'build/libs/sobot_common_1.4.
7
.jar'
//原地址
//原地址
from
(
'build/intermediates/packaged-classes/release/'
)
from
(
'build/intermediates/packaged-classes/release/'
)
//导出jar包的地址
//导出jar包的地址
...
@@ -19,7 +19,7 @@ android {
...
@@ -19,7 +19,7 @@ android {
//包含的jar包
//包含的jar包
include
(
'classes.jar'
)
include
(
'classes.jar'
)
//重命名jar包为mysdk
//重命名jar包为mysdk
rename
(
'classes.jar'
,
'sobot_common_1.4.
5
.jar'
)
rename
(
'classes.jar'
,
'sobot_common_1.4.
7
.jar'
)
}
}
makeJar
.
dependsOn
(
build
)
makeJar
.
dependsOn
(
build
)
}
}
...
...
sobot_common/sobot-common-publish-mavencentral.gradle
View file @
ce6aa716
...
@@ -12,8 +12,7 @@ task androidSourcesJar(type: Jar) {
...
@@ -12,8 +12,7 @@ task androidSourcesJar(type: Jar) {
ext
{
ext
{
PUBLISH_GROUP_ID
=
"com.sobot.library"
//项目包名
PUBLISH_GROUP_ID
=
"com.sobot.library"
//项目包名
PUBLISH_ARTIFACT_ID
=
'sobotcommon'
//项目名
PUBLISH_ARTIFACT_ID
=
'sobotcommon'
//项目名
// PUBLISH_ARTIFACT_ID = 'sobotcommon_x' //项目名
PUBLISH_VERSION
=
'1.4.7'
//版本号
PUBLISH_VERSION
=
'1.4.6'
//版本号
}
}
...
...
sobot_common/src/main/java/com/sobot/common/login/permission/SobotPermissionManager.java
View file @
ce6aa716
...
@@ -141,95 +141,53 @@ public class SobotPermissionManager {
...
@@ -141,95 +141,53 @@ public class SobotPermissionManager {
public
static
final
String
MODULE_SETTING_PLAIN
=
"module_setting_plain"
;
public
static
final
String
MODULE_SETTING_PLAIN
=
"module_setting_plain"
;
//-----------------------------------呼叫权限----------------------------------------
//-----------------------------------呼叫权限----------------------------------------
// 通话记录
public
static
final
String
CCCV6_THJL
=
"cccv6-thjl"
;
// 通话详情
public
static
final
String
CCCV6_THXQ
=
"cccv6-thxq"
;
// 通话信息
public
static
final
String
CCCV6_THXQ_THXX
=
"cccv6-thxq-thxx"
;
// 服务总结
public
static
final
String
CCCV6_THXQ_FWZJ
=
"cccv6-thxq-fwzj"
;
// 客户信息
public
static
final
String
CCCV6_THXQ_KHXX
=
"cccv6-thxq-khxx"
;
// 业务记录
public
static
final
String
CCCV6_THXQ_YWJL
=
"cccv6-thxq-ywjl"
;
// 录音播放
public
static
final
String
CCCV6_THXQ_LYBF
=
"cccv6-thxq-lybf"
;
// 录音下载
public
static
final
String
CCCV6_THXQ_LYXZ
=
"cccv6-thxq-lyxz"
;
// 保存服务总结
public
static
final
String
CCCV6_THXQ_BCFWZJ
=
"cccv6-thxq-bcfwzj"
;
// 新增客户
public
static
final
String
CCCV6_THXQ_XZKH
=
"cccv6-thxq-xzkh"
;
// 关联客户
public
static
final
String
CCCV6_THXQ_GLKH
=
"cccv6-thxq-glkh"
;
// 编辑客户
public
static
final
String
CCCV6_THXQ_BJKH
=
"cccv6-thxq-bjkh"
;
// 电话回拨
public
static
final
String
CCCV6_THXQ_DHHB
=
"cccv6-thxq-dhhb"
;
// 电话条
public
static
final
String
CCCV6_DHT
=
"app-cccv6-dht-dht"
;
// 修改绑定电话号码
public
static
final
String
CCCV6_DHT_XGBDDHHM
=
"app-cccv6-dht-xgdddh"
;
// 修改分机账号
public
static
final
String
CCCV6_DHT_XGFJZH
=
"app-cccv6-dht-xgfjzh"
;
// 离线后自动解绑
public
static
final
String
CCCV6_DHT_LXHZDJB
=
"app-cccv6-dht-lxhzdjb"
;
// 转移
public
static
final
String
CCCV6_DHT_ZY
=
"cccv6-dht-zy"
;
// 咨询
public
static
final
String
CCCV6_DHT_ZX
=
"cccv6-dht-zx"
;
// 保持和保持取消
public
static
final
String
CCCV6_DHT_BCHBCQX
=
"app-cccv6-dht-baoc"
;
// 静音和静音取消
public
static
final
String
CCCV6_DHT_JYHJYQX
=
"app-cccv6-dht-jingy"
;
// 发送满意度
public
static
final
String
CCCV6_DHT_FSMYD
=
"app-cccv6-dht-fsmyd"
;
// 延长整理时长
public
static
final
String
CCCV6_DHT_YCZLSC
=
"app-cccv6-dht-yczlsc"
;
// 内部通话
public
static
final
String
CCCV6_DHT_INNER
=
"cccv6-dht-"
;
// 结束整理并置忙
public
static
final
String
CCCV6_DHT_JSZLBZM
=
"app-cccv6-dht-jszlbzm"
;
// 重置离线
public
static
final
String
CCCV6_DHT_CZLX
=
"cccv6-dht-czlx"
;
// 外呼任务
public
static
final
String
CCCV6_WHRW
=
"cccv6-whrw"
;
// 任务信息-编辑
public
static
final
String
CCCV6_WHRW_RWXXBJ
=
"cccv6-whrw-rwxxbj"
;
// 任务总结-编辑
public
static
final
String
CCCV6_WHRW_RWZJBJ
=
"cccv6-whrw-rwzjbj"
;
//-----------------------------------电销权限----------------------------------------
//电销
//电销
public
static
final
String
scc
=
"scc"
;
public
static
final
String
scc
=
"scc"
;
//通话记录
//通话记录
public
static
final
String
scc_thjl
=
"scc-thjl"
;
public
static
final
String
scc_thjl
=
"scc-thjl"
;
//通话详情
//通话详情
public
static
final
String
scc_thxq
=
"scc-thxq"
;
public
static
final
String
scc_thxq
=
"scc-thxq"
;
//通话信息
//通话信息
public
static
final
String
scc_thxq_thxx
=
"scc-thxq-thxx"
;
public
static
final
String
scc_thxq_thxx
=
"scc-thxq-thxx"
;
//跟进记录
public
static
final
String
scc_thxq_gjjl
=
"scc-thxq-gjjl"
;
//客户信息
//客户信息
public
static
final
String
scc_thxq_khxx
=
"scc-thxq-khxx"
;
public
static
final
String
scc_thxq_khxx
=
"scc-thxq-khxx"
;
//录音播放
//录音播放
public
static
final
String
scc_thxq_lybf
=
"scc-thxq-lybf"
;
public
static
final
String
scc_thxq_lybf
=
"scc-thxq-lybf"
;
//录音下载
//录音下载
public
static
final
String
scc_thxq_lyxz
=
"scc-thxq-lyxz"
;
public
static
final
String
scc_thxq_lyxz
=
"scc-thxq-lyxz"
;
//新增客户
//新增客户
public
static
final
String
scc_thxq_xzkh
=
"scc-thxq-xzkh"
;
public
static
final
String
scc_thxq_xzkh
=
"scc-thxq-xzkh"
;
//关联客户
//关联客户
public
static
final
String
scc_thxq_glkh
=
"scc-thxq-glkh"
;
public
static
final
String
scc_thxq_glkh
=
"scc-thxq-glkh"
;
//编辑客户
//编辑客户
public
static
final
String
scc_thxq_bjkh
=
"scc-thxq-bjkh"
;
public
static
final
String
scc_thxq_bjkh
=
"scc-thxq-bjkh"
;
//电话回拨
//电话回拨
public
static
final
String
scc_thxq_dhhb
=
"scc-thxq-dhhb"
;
public
static
final
String
scc_thxq_dhhb
=
"scc-thxq-dhhb"
;
//电销任务
//电销任务
public
static
final
String
scc_dxrw
=
"scc-dxrw"
;
public
static
final
String
scc_dxrw
=
"scc-dxrw"
;
//任务信息-编辑
//任务信息-编辑
public
static
final
String
scc_dxrw_rwxxbj
=
"scc-dxrw-rwxxbj"
;
public
static
final
String
scc_dxrw_rwxxbj
=
"scc-dxrw-rwxxbj"
;
//任务总结-编辑
//任务总结-编辑
public
static
final
String
scc_dxrw_rwzjbj
=
"scc-dxrw-rwzjbj"
;
public
static
final
String
scc_dxrw_rwzjbj
=
"scc-dxrw-rwzjbj"
;
//电销 电话条
public
static
final
String
scc_dht
=
"scc-dht"
;
//修改绑定电话号码
public
static
final
String
scc_dht_xgbddhhm
=
"scc-dht-xgbddhhm"
;
//修改分机账号
public
static
final
String
scc_dht_xgfjzh
=
"scc-dht-xgfjzh"
;
//离线后自动解绑
public
static
final
String
scc_dht_lxhzdjb
=
"scc-dht-lxhzdjb"
;
//保持和保持取消
public
static
final
String
scc_dht_bchbcqx
=
"scc-dht-bchbcqx"
;
//静音和静音取消
public
static
final
String
scc_dht_jyhjyqx
=
"scc-dht-jyhjyqx"
;
//延长整理时长
public
static
final
String
scc_dht_yczlsc
=
"scc-dht-yczlsc"
;
//结束整理并置忙
public
static
final
String
scc_dht_jszlbzm
=
"scc-dht-jszlbzm"
;
public
static
String
getCodeByType
(
String
type
)
{
public
static
String
getCodeByType
(
String
type
)
{
if
(!
TextUtils
.
isEmpty
(
type
))
{
if
(!
TextUtils
.
isEmpty
(
type
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment