diff --git a/app_common/models/base.py b/app_common/models/base.py index e02b4ebf..6fd539a5 100644 --- a/app_common/models/base.py +++ b/app_common/models/base.py @@ -210,5 +210,9 @@ def get_ua_type(): elif 'cn.erpapp.o20sticks.App' in ua: # 安卓app utype = 'native_android' + elif 'BytedanceWebview' in ua: + utype = 'dyweb' + elif 'wxwork' in ua: + utype = 'qwapp' # _logger.warning('=========get ua %s,%s' % (utype, ua)) return utype