public CustomJsonResult <JsApiConfigParams> GetJsApiConfigParams(WxAppInfoConfig config, string url) { string jsApiTicket = GetJsApiTicket(config); JsApiConfigParams parms = new JsApiConfigParams(config.AppId, url, jsApiTicket); return(new CustomJsonResult <JsApiConfigParams>(ResultType.Success, ResultCode.Success, "", parms)); }
public CustomJsonResult <JsApiConfigParams> GetJsApiConfigParams(string url) { string jsApiTicket = WxUntil.GetInstance().GetJsApiTicket(wxConfig.AppId, wxConfig.AppSecret, this.GetApiAccessToken()); JsApiConfigParams parms = new JsApiConfigParams(wxConfig.AppId, url, jsApiTicket); return(new CustomJsonResult <JsApiConfigParams>(ResultType.Success, ResultCode.Success, "", parms)); }