C#微信小程序服务端怎么获取用户解密信息?
- 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();
新闻热点
疑难解答