prepare #I8DJPV [app_social_login_dy]优化ua来处理,只在抖音浏览器中

This commit is contained in:
Chill
2023-11-03 18:22:24 +08:00
parent fa208ce382
commit a262b72d8b

View File

@@ -210,5 +210,9 @@ def get_ua_type():
elif 'cn.erpapp.o20sticks.App' in ua: elif 'cn.erpapp.o20sticks.App' in ua:
# 安卓app # 安卓app
utype = 'native_android' utype = 'native_android'
elif 'BytedanceWebview' in ua:
utype = 'dyweb'
elif 'wxwork' in ua:
utype = 'qwapp'
# _logger.warning('=========get ua %s,%s' % (utype, ua)) # _logger.warning('=========get ua %s,%s' % (utype, ua))
return utype return utype