public async Task<ActionResult> SendTemplateMessage(string jsonTPMessage)
 {
     WXApi wxapi = new WXApi(APPID, APPSECRET);
     string content = await wxapi.SendTemplateMessageAsync(jsonTPMessage);
     return this.Content(content);
 }
Beispiel #2
0
 public async Task<ActionResult> CreateMenu(string jsonMenu)
 {
     WXApi wxapi = new WXApi(APPID, APPSECRET);
     string content = await wxapi.CreateMenuAsync(jsonMenu);
     return this.Content(content);
 }