"> 合并请求 0 提交历史 310 版本发布 0

暂无描述

Brightcells: f818f4127f Docstring simplify 10 年之前
..
migrations 27d3ec8fb1 add src for LatestAppInfo/SplashInfo 10 年之前
__init__.py 30daca135b add api message_list_api/message_type_list_api/message_read_api 11 年之前
admin.py ee7388cd15 add src for SystemMessageInfo 10 年之前
models.py ad69866b26 Add tour guide's name and phone in GroupInfo 10 年之前
tests.py fabef63211 set line_length=200 for isort 10 年之前
views.py f818f4127f Docstring simplify 10 年之前
kodo - Gogs: Go Git Service

暫無描述

wx_utils.py 399B

    # -*- coding: utf-8 -*- def get_trade_type(trade_type): return trade_type if trade_type != 'MINIAPP' else 'JSAPI' def get_user_openid(user, trade_type): if trade_type == 'MINIAPP': openid = user.openid_miniapp elif trade_type == 'JSAPI': openid = user.openid_oauth elif trade_type == 'APP': openid = None else: openid = None return openid