小程序模板网

C#微信小程序服务端获取用户解密信息

2018-02-10 东坡竹

  1. using AIOWeb.Models;
    using Newtonsoft.Json;
    using Newtonsoft.Json.Linq;
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Data.SqlClient;
    using System.Linq;
    using System.Web;
    
    namespace AIOWeb
    {
    /// <summary>
    /// wxapi 的摘要说明
    /// </summary>
    public class wxapi : IHttpHandler
    {
    public void ProcessRequest(HttpContext context)
    {
    context.Response.ContentType = "text/plain";
    
    string code = "";
    string iv = "";
    string encryptedData = "";
    try
    {
    code = HttpContext.Current.Request.QueryString["code"].ToString();
    iv = HttpContext.Current.Request.QueryString["iv"].ToString();
    


易优小程序(企业版)+灵活api+前后代码开源 码云仓库:starfork
本文地址:https://www.eyoucms.com/wxmini/doc/course/21942.html 复制链接 如需定制请联系易优客服咨询:800182392 点击咨询
QQ在线咨询