Esempio n. 1
0
def share(request):
    """jssdk 分享"""
    url = "http://" + request.get_host() + request.path
    sign = Helper.jsapi_sign(url)
    sign["appId"] = WxPayConf_pub.APPID
    return render_to_response("share.html", {"jsapi": sign})