mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
prepare #I8DJPV [app_social_login_dy]优化ua来处理,只在抖音浏览器中
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user