Skip to content

Commit

Permalink
upgrade to LANYING.IM
Browse files Browse the repository at this point in the history
  • Loading branch information
ericliang committed Apr 25, 2022
1 parent f93a632 commit 6413b0f
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Maxim-PC Changelog

[美信拓扑](https://www.maximtop.com/) ,一键启用多云架构的即时通讯云服务

### v3.0.0 20220425
1.启用蓝莺产品名称,基于原"美信拓扑IM"v2.9.10发布全新版本。

### v2.9.10 20220425
1. Fix Bug: 修复显示好友信息的bug。
2. Fix Bug: 联系人信息未被获取时返回空对象。
Expand Down
Binary file modified _icons/icon.icns
Binary file not shown.
Binary file modified _icons/icon.ico
Binary file not shown.
Binary file modified _icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"vue-toasted": "^1.1.27",
"vuex": "^3.1.1"
},
"description": "美信拓扑IM Demo",
"description": "蓝莺IM",
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
Expand Down Expand Up @@ -78,9 +78,9 @@
},
"license": "MIT",
"main": "dist/main.js",
"name": "maxim-pc",
"name": "lanying-im-pc",
"private": true,
"productName": "美信拓扑IM",
"productName": "蓝莺IM",
"repository": {
"type": "git",
"url": "git+https://github.com/mubaidr/vue-electron-template.git"
Expand Down Expand Up @@ -115,5 +115,5 @@
"all": "node .electron-vue/build.js && electron-builder",
"w": "node .electron-vue/build.js"
},
"version": "2.9.10"
"version": "3.0.0"
}
Binary file modified src/renderer/image/favicon.ico
Binary file not shown.
Binary file modified src/renderer/image/logo4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/renderer/image/logob.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions src/renderer/ui/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default {
initFlooIM() {
const config = {
// dnsServer: "https://dns.maximtop.com/v2/app_dns",
// dnsServer: "https://dns.lanyingim.com/v2/app_dns",
appid: this.appid,
ws: false,
autoLogin: true
Expand Down Expand Up @@ -198,7 +198,7 @@ export default {
},
//如果你在原生App中集成Web版,尤其是Uniapp这样的场景,你才可能需要绑定 DeviceToken 以利用厂商推送通道。
//其中 notifier_name 为证书名称,也即在美信拓扑控制台内上传证书时候设置的名称
//其中 notifier_name 为证书名称,也即在蓝莺IM控制台内上传证书时候设置的名称
bindDeviceToken(device_token, notifier_name) {
const imUser = this.getIM().userManage;
const device_sn = imUser.getDeviceSN();
Expand Down Expand Up @@ -265,10 +265,10 @@ export default {
},
saveLoginInfo(info) {
// const {name, password} = info;
window.localStorage.setItem('maxim_logininfo', JSON.stringify(info));
window.localStorage.setItem('lanying_im_logininfo', JSON.stringify(info));
},
getLoginInfo() {
const info_str = window.localStorage.getItem('maxim_logininfo') || {};
const info_str = window.localStorage.getItem('lanying_im_logininfo') || {};
let info = {};
try {
info = JSON.parse(info_str);
Expand All @@ -279,13 +279,13 @@ export default {
return info;
},
removeLoginInfo() {
window.localStorage.removeItem('maxim_logininfo');
window.localStorage.removeItem('lanying_im_logininfo');
},
saveAppId(appid) {
window.localStorage.setItem('maxim_appid', appid);
window.localStorage.setItem('lanying_im_appid', appid);
},
retrieveAppId() {
return window.localStorage.getItem('maxim_appid') || 'welovemaxim';
return window.localStorage.getItem('lanying_im_appid') || 'welovemaxim';
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/ui/login/qrlogin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="layer_content">
<canvas class="canvas" ref="canvas"></canvas>
</div>
<p class="tab">使用「美信拓扑IM」App 扫码</p>
<p class="tab">使用「蓝莺IM」App 扫码</p>
<p class="tab">
<intput>返回</intput>
<span @click="switchLogin('login')" class="mr5 colorb">密码登录</span>
Expand Down

0 comments on commit 6413b0f

Please sign in to comment.