|
@@ -199,6 +199,7 @@ var pushDetailSettingConf = {
|
|
|
ratemode: 0, // 推送时间1,2,3,4
|
|
|
wxpush: true, // wx推送开关
|
|
|
mailpush: true, // 邮箱推送开关
|
|
|
+ apppush: true, // APP推送开关
|
|
|
mail: '',
|
|
|
},
|
|
|
detailsModuleOneConf: {
|
|
@@ -414,7 +415,8 @@ var pushDetailSettingConf = {
|
|
|
success: function (res) {
|
|
|
if(res && res.error_code === 0) {
|
|
|
_this.settingConf.ratemode = res.data.ratemode
|
|
|
- _this.settingConf.wxpush = !!res.data_wxpush
|
|
|
+ _this.settingConf.wxpush = !!res.data.wxpush
|
|
|
+ _this.settingConf.apppush = !!res.data.apppush
|
|
|
_this.settingConf.mailpush = !!res.data.mailpush
|
|
|
_this.settingConf.mail = res.data.mail
|
|
|
// 转换并设置数据
|
|
@@ -489,6 +491,7 @@ var pushDetailSettingConf = {
|
|
|
info.mail = this.settingConf.mail
|
|
|
info.wxpush = this.settingConf.wxpush - 0 // 布尔值隐式转换为数字
|
|
|
info.mailpush = this.settingConf.mailpush - 0
|
|
|
+ info.apppush = this.settingConf.apppush - 0
|
|
|
}
|
|
|
if (this.modulesShow.detailsModuleOne) {
|
|
|
for (var key in this.detailsModuleOneConf) {
|