优化代码

dependabot/npm_and_yarn/fir_admin/async-2.6.4
nineven 3 years ago
parent 2390397f1b
commit 22a9b8d816
  1. 2
      fir_client/vue.config.js
  2. 2
      fir_ser/api/views/thirdlogin.py
  3. 33
      fir_ser/config.py

@ -82,7 +82,7 @@ if (page) {
} }
} }
const version='2.2.8'; const version='2.2.9';
const pro_base_env = { const pro_base_env = {
baseUrl: 'https://flyapps.cn', baseUrl: 'https://flyapps.cn',

@ -222,7 +222,7 @@ class ValidWxChatToken(APIView):
description += " 微信登录 " description += " 微信登录 "
if wx_user_obj.enable_notify: if wx_user_obj.enable_notify:
description += " 消息通知 " description += " 消息通知 "
description += "功能" description += "功能"
WxTemplateMsg(to_user, get_wx_nickname(to_user)).bind_query_success_msg( WxTemplateMsg(to_user, get_wx_nickname(to_user)).bind_query_success_msg(
user_obj.first_name, user_obj.first_name,

@ -252,9 +252,36 @@ class SENDERCONF(object):
class IPACONF(object): class IPACONF(object):
APPLE_DEVELOPER_API_PROXY_LIST = [ APPLE_DEVELOPER_API_PROXY_LIST = [
# '47.243.172.201:17897', {'proxy': '39.101.198.124:17897', 'active': True},
# '47.243.172.202:17897', {'proxy': '8.142.38.157:17897', 'active': True},
# '47.243.172.203:17897' {'proxy': '121.89.194.26:17897', 'active': True},
{'proxy': '39.103.139.122:17897', 'active': True},
{'proxy': '8.142.99.245:17897', 'active': True},
{'proxy': '8.142.180.88:17897', 'active': True},
{'proxy': '8.142.174.13:17897', 'active': True},
{'proxy': '39.99.238.93:17897', 'active': True},
{'proxy': '8.142.173.96:17897', 'active': True},
{'proxy': '8.142.163.150:17897', 'active': True},
{'proxy': '39.99.148.6:17897', 'active': True},
{'proxy': '8.142.177.18:17897', 'active': True},
{'proxy': '39.99.238.109:17897', 'active': True},
{'proxy': '8.142.137.58:17897', 'active': True},
{'proxy': '8.142.70.111:17897', 'active': True},
{'proxy': '39.99.250.139:17897', 'active': True},
{'proxy': '39.98.108.35:17897', 'active': True},
{'proxy': '8.142.86.125:17897', 'active': True},
{'proxy': '39.103.134.67:17897', 'active': True},
{'proxy': '121.89.213.83:17897', 'active': True},
{'proxy': '39.103.157.148:17897', 'active': True},
{'proxy': '121.89.211.11:17897', 'active': True},
{'proxy': '39.101.134.27:17897', 'active': True},
{'proxy': '39.103.129.39:17897', 'active': True},
{'proxy': '39.103.170.156:17897', 'active': True},
{'proxy': '8.142.169.88:17897', 'active': True},
{'proxy': '39.103.231.80:17897', 'active': True},
{'proxy': '8.142.43.168:17897', 'active': True},
{'proxy': '8.142.120.245:17897', 'active': True},
{'proxy': '8.142.120.174:17897', 'active': True},
] ]
APPLE_DEVELOPER_API_PROXY = { APPLE_DEVELOPER_API_PROXY = {
# 代理的作用,主要是为了加快苹果api的访问,在国内会出现卡死,访问超时等问题,怀疑是被苹果服务器拦截了 # 代理的作用,主要是为了加快苹果api的访问,在国内会出现卡死,访问超时等问题,怀疑是被苹果服务器拦截了

Loading…
Cancel
Save