Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
9754de66
o2oa
项目概览
ghsby
/
o2oa
落后 Fork 源项目 2880 个版本
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9754de66
编写于
11月 25, 2022
作者:
楼
楼国栋
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/delete_huawei' into 'develop'
删除华为推送 See merge request o2oa/o2oa!1249
上级
7aeda298
25989b5e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
2 addition
and
38 deletion
+2
-38
o2web/source/x_component_systemconfig/public/lp/en.js
o2web/source/x_component_systemconfig/public/lp/en.js
+0
-1
o2web/source/x_component_systemconfig/public/lp/zh-cn.js
o2web/source/x_component_systemconfig/public/lp/zh-cn.js
+0
-1
o2web/source/x_component_systemconfig/src/components/content/MobilePushConfig.vue
..._systemconfig/src/components/content/MobilePushConfig.vue
+2
-32
o2web/source/x_component_systemconfig/src/util/config.json
o2web/source/x_component_systemconfig/src/util/config.json
+0
-4
未找到文件。
o2web/source/x_component_systemconfig/public/lp/en.js
浏览文件 @
9754de66
...
...
@@ -1369,7 +1369,6 @@ o2.xApplication.systemconfig.LP = {
"
pushTypeInfo
"
:
"
O2OA支持极光推送服务和华为推送服务,您可以根据需要选择推送服务
"
,
"
pushTypeData
"
:
[
{
"
value
"
:
"
jpush
"
,
"
label
"
:
"
jpush
"
,
"
text
"
:
"
极光推送服务
"
},
{
"
value
"
:
"
huawei
"
,
"
label
"
:
"
huawei
"
,
"
text
"
:
"
华为推送服务
"
},
{
"
value
"
:
"
none
"
,
"
label
"
:
"
none
"
,
"
text
"
:
"
禁用消息推送
"
}
],
...
...
o2web/source/x_component_systemconfig/public/lp/zh-cn.js
浏览文件 @
9754de66
...
...
@@ -1377,7 +1377,6 @@ o2.xApplication.systemconfig.LP = {
"
pushTypeInfo
"
:
"
O2OA支持极光推送服务和华为推送服务,您可以根据需要选择推送服务
"
,
"
pushTypeData
"
:
[
{
"
value
"
:
"
jpush
"
,
"
label
"
:
"
jpush
"
,
"
text
"
:
"
极光推送服务
"
},
{
"
value
"
:
"
huawei
"
,
"
label
"
:
"
huawei
"
,
"
text
"
:
"
华为推送服务
"
},
{
"
value
"
:
"
none
"
,
"
label
"
:
"
none
"
,
"
text
"
:
"
禁用消息推送
"
}
],
...
...
o2web/source/x_component_systemconfig/src/components/content/MobilePushConfig.vue
浏览文件 @
9754de66
...
...
@@ -28,27 +28,6 @@
</div>
<div
v-if=
"confgiData.pushType==='huawei'"
>
<BaseItem
:title=
"lp._pushConfig.appId"
:info=
"lp._pushConfig.appIdInfo"
:config=
"confgiData.huawei.appId"
:allowEditor=
"true"
@
changeConfig=
"(value)=>
{confgiData.huawei.appId = value; saveData()}"
>
</BaseItem>
<BaseItem
:title=
"lp._pushConfig.appSecret"
:info=
"lp._pushConfig.appSecretInfo"
:config=
"confgiData.huawei.appSecret"
:allowEditor=
"true"
@
changeConfig=
"(value)=>
{confgiData.huawei.appSecret = value; saveData()}"
>
</BaseItem>
</div>
</div>
</div>
...
...
@@ -70,26 +49,17 @@ const saveData = async () => {
const
d
=
{
enable
:
confgiData
.
value
.
pushType
===
'
jpush
'
,
appKey
:
confgiData
.
value
.
jpush
.
appKey
,
masterSecret
:
confgiData
.
value
.
jpush
.
masterSecret
,
huaweiPushEnable
:
(
confgiData
.
value
.
pushType
===
'
huawei
'
),
huaweiPushConfig
:
{
appId
:
confgiData
.
value
.
huawei
.
appId
,
appSecret
:
confgiData
.
value
.
huawei
.
appSecret
,
}
masterSecret
:
confgiData
.
value
.
jpush
.
masterSecret
}
await
saveConfigData
(
'
jpushConfig
'
,
d
);
}
getConfigData
(
'
jpushConfig
'
).
then
((
data
)
=>
{
confgiData
.
value
=
{
pushType
:
(
data
.
enable
)
?
'
jpush
'
:
((
data
.
huaweiPushEnable
)
?
'
huawei
'
:
'
none
'
)
,
pushType
:
(
data
.
enable
)
?
'
jpush
'
:
'
none
'
,
jpush
:
{
appKey
:
data
.
appKey
,
masterSecret
:
data
.
masterSecret
},
huawei
:{
appId
:
data
.
huaweiPushConfig
.
appId
,
appSecret
:
data
.
huaweiPushConfig
.
appSecret
}
};
});
...
...
o2web/source/x_component_systemconfig/src/util/config.json
浏览文件 @
9754de66
...
...
@@ -35,10 +35,6 @@
"file"
:
"externalStorageSources.json"
,
"description"
:
"文件存储配置"
},
"huaweiPushConfig"
:
{
"file"
:
"huaweiPushConfig.json"
,
"description"
:
"华为推送配置"
},
"jpushConfig"
:
{
"file"
:
"jpushConfig.json"
,
"description"
:
"极光推送配置"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录