flx:关闭消息推送

This commit is contained in:
X_Rian 2024-10-14 17:52:23 +08:00
parent 94eddd3401
commit f49b24b638
4 changed files with 46 additions and 46 deletions

View File

@ -19,7 +19,7 @@
"type" : "uniCloud"
},
{
"playground" : "standard",
"playground" : "custom",
"type" : "uni-app:app-android"
},
{

View File

@ -37,8 +37,8 @@ Vue.prototype.COMPANY = "cpgs" // 成平高速环境
if (process.env.NODE_ENV === 'development') {
// 开发环境
console.log('开发环境')
Vue.prototype.url_config = 'http://jxj.zhgdyun.com:30250/'// 演示平台H5
Vue.prototype.work_url = 'http://jxj.zhgdyun.com:33983' // 演示平台工作流地址
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:30250/'// 演示平台H5
// Vue.prototype.work_url = 'http://jxj.zhgdyun.com:33983' // 演示平台工作流地址
// Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢正式地址(弃用)
// Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址
// Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址
@ -46,13 +46,13 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址
// Vue.prototype.url_config = 'http://192.168.34.221:28890/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.221:28888/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地
Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地
// Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用)
// Vue.prototype.work_url = 'http://42.180.188.17:19997' // 工作流线上地址
// Vue.prototype.work_url = 'http://42.180.188.17:19097' // 工作流测试地址
// Vue.prototype.work_url = 'http://192.168.34.175:5173' // 工作流地址
Vue.prototype.work_url = 'http://192.168.34.175:5173' // 工作流地址
// Vue.prototype.work_url = 'http://192.168.34.138:5173' // 工作流地址
// Vue.prototype.work_url = 'http://139.9.66.234:5173' // 工作流地址
// Vue.prototype.work_url = 'http://192.168.34.126:5173' // 工作流地址

View File

@ -236,21 +236,21 @@
init(data) {
// #ifdef APP-PLUS
// add:CID 2022420 10:47:41 // add:CID 2022420 10:47:41
plus.push.getClientInfoAsync((info) => {
const clientId = info["clientid"];
// console.log(cid,"cidcidcidcidcid")
// const cid = "f4b3246189fc051c5875a35e198ca223";
const alias = data.userId;
//
this.sendRequest({
url: "xmgl/push/bindAlias", //
data: {
clientId,
alias
},
method: "POST"
})
});
// plus.push.getClientInfoAsync((info) => {
// const clientId = info["clientid"];
// // console.log(cid,"cidcidcidcidcid")
// // const cid = "f4b3246189fc051c5875a35e198ca223";
// const alias = data.userId;
// //
// this.sendRequest({
// url: "xmgl/push/bindAlias", //
// data: {
// clientId,
// alias
// },
// method: "POST"
// })
// });
// #endif
uni.setStorageSync('wflow-token', data.token);
uni.setStorageSync('account', this.formData.account);
@ -277,11 +277,11 @@
// #ifdef APP-PLUS
this.statusBarHeight = uni.getStorageSync('systemInfo').statusBarHeight;
// add:CID 2022420 10:47:41 // add:CID 2022420 10:47:41
plus.push.getClientInfoAsync((info) => {
const clientid = info["clientid"];
console.log(clientid, "cidcidcidcidcid")
_this.clientid = clientid
});
// plus.push.getClientInfoAsync((info) => {
// const clientid = info["clientid"];
// console.log(clientid, "cidcidcidcidcid")
// _this.clientid = clientid
// });
// #endif
if (option.type) {
//

View File

@ -61,12 +61,12 @@
let _this = this;
// #ifdef APP-PLUS
// add:CID 2022420 10:47:41 // add:CID 2022420 10:47:41
plus.push.getClientInfoAsync((info) => {
const clientid = info["clientid"];
console.log(clientid, "cidcidcidcidcid")
_this.clientid = clientid
// plus.push.getClientInfoAsync((info) => {
// const clientid = info["clientid"];
// console.log(clientid, "cidcidcidcidcid")
// _this.clientid = clientid
});
// });
// #endif
if (uni.getStorageSync('userInfo')) {
let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
@ -170,22 +170,22 @@
success: (res) => {
// #ifdef APP-PLUS
// add:CID 2022420 10:47:41 // add:CID 2022420 10:47:41
plus.push.getClientInfoAsync((info) => {
const cid = info["clientid"];
// console.log(cid,"cidcidcidcidcid")
// const cid = "f4b3246189fc051c5875a35e198ca223";
const userId = res.result.userId;
const jsonParams = {
clientId: cid,
alias: userId
}
//
this.sendRequest({
url: "xmgl/push/bindAlias", //
data: jsonParams,
method: "POST",
})
});
// plus.push.getClientInfoAsync((info) => {
// const cid = info["clientid"];
// // console.log(cid,"cidcidcidcidcid")
// // const cid = "f4b3246189fc051c5875a35e198ca223";
// const userId = res.result.userId;
// const jsonParams = {
// clientId: cid,
// alias: userId
// }
// //
// this.sendRequest({
// url: "xmgl/push/bindAlias", //
// data: jsonParams,
// method: "POST",
// })
// });
// #endif
uni.setStorageSync('account', e.detail.value.account);