C# 클래스 Senparc.Weixin.WxOpen.AdvancedAPIs.WxApp.WxAppApi

WxApp接口
파일 보기 프로젝트 열기: JeffreySu/WeiXinMPSDK 1 사용 예제들

공개 메소드들

메소드 설명
CreateWxaQrCode ( string accessTokenOrAppId, Stream stream, string path, int width = 430, int timeOut = Config.TIME_OUT ) : WxJsonResult

获取小程序页面二维码

CreateWxaQrCodeAsync ( string accessTokenOrAppId, Stream stream, string path, int width = 430, int timeOut = Config.TIME_OUT ) : Task

【异步方法】获取小程序页面二维码

메소드 상세

CreateWxaQrCode() 공개 정적인 메소드

获取小程序页面二维码
public static CreateWxaQrCode ( string accessTokenOrAppId, Stream stream, string path, int width = 430, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
stream Stream 储存二维码的流
path string 不能为空,最大长度 128 字节(如:pages/index?query=1。注:pages/index 需要在 app.json 的 pages 中定义)
width int 二维码的宽度
timeOut int 请求超时时间
리턴 Senparc.Weixin.Entities.WxJsonResult

CreateWxaQrCodeAsync() 공개 정적인 메소드

【异步方法】获取小程序页面二维码
public static CreateWxaQrCodeAsync ( string accessTokenOrAppId, Stream stream, string path, int width = 430, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
stream Stream 储存二维码的流
path string 不能为空,最大长度 128 字节(如:pages/index?query=1,注:pages/index 需要在 app.json 的 pages 中定义)
width int 二维码的宽度
timeOut int 请求超时时间
리턴 Task