1.小程序代码 onLoad: function (options) { var that = this api.Login(function (login) { var codeModel = new function () { } codeModel.scene = login.UserId codeModel.width=430 codeModel.auto_color = false codeModel.line_color = { "r": "0", &q…
<%@ WebHandler Language="C#" Class="ce" %> using System; using System.Web; using System.Net; using System.Text; using System.IO; using System.Collections.Generic; using LitJson; using System.Web.Script.Serialization; public class…
1.因为带参数二维码有两种,分别是字符参数,数值参数,因此,在写创建方法的时候,需要进行判断 public void ShowQcCode(N_WX_QrCode code) { QRCodeCreateModel cm = new QRCodeCreateModel(); cm.ExpireSeconds = ;//时间 Magicodes.WeiChat.Framework.QrCodeLogoAPI api = new Magicodes.WeiChat.Framework.QrCodeL…