|
@@ -126,6 +126,7 @@
|
|
|
appSecurity: "", //网络货运企业在省平台申请的接入安全码
|
|
|
enterpriseSenderCode: "", //网络货运企业在省平台申请的企业发送代码
|
|
|
environment: "", //环境:“debug”接入测试环境,“release”接入正式环境。
|
|
|
+ clientid:"",
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -137,8 +138,15 @@
|
|
|
this.$api.logout()
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
-
|
|
|
// #ifdef APP-PLUS
|
|
|
+ plus.push.getClientInfoAsync((info) => {//获取设备唯一cid
|
|
|
+ var name = 'clientId'
|
|
|
+ var value = info.clientid
|
|
|
+ // this.$store.commit('$uStore', {name,value});
|
|
|
+ uni.setStorageSync("clientId", info.clientid)
|
|
|
+ this.clientid = info.clientid
|
|
|
+ }, err => {});
|
|
|
+
|
|
|
var isContains = true; //隐私权政策是否包含高德开平隐私权政策 true是包含
|
|
|
var isShow = true; //隐私权政策是否弹窗展示告知用户 true是展示
|
|
|
sdkwx.updatePrivacyShow(isContains, isShow);
|
|
@@ -314,7 +322,8 @@
|
|
|
phone: that.phone,
|
|
|
password: that.password,
|
|
|
loginFlag: 2,
|
|
|
- identification: 1
|
|
|
+ identification: 1,
|
|
|
+ cid:that.clientid
|
|
|
}, 'application/x-www-form-urlencoded').then(res => {
|
|
|
if (res.code == 200) {
|
|
|
// uni.setStorageSync("shiro",encodeURIComponent(`ws_login_companyShortName=
|