@@ -251,6 +251,8 @@ export default {
} else if (res.msg == 'already') {
this.$toast('该账号已添加过')
+ } else if (res.msg == 'PermissionControl') {
+ this.$toast('不在揽收范围')
} else if (res.code == 444) {
this.$toast(res.error)
}
@@ -2,7 +2,6 @@ export default {
install(Vue) {
Vue.prototype.getOpenid = function (page) {
var host = 'http://47.101.145.23/tianzong';
- // var host = 'http://192.168.31.47:8080/tianzong';
if (localStorage.getItem("openid") != 'undefined' && localStorage.getItem("openid") != null)
return;
var code = this.getUrlParam("code");