public async Task <ActionResult> CreateMenu(string jsonMenu) { await WXApi.RefreshAccessToken(APPID, APPSECRET); string content = await WXApi.CreateMenuAsync(WXApi.AccessToken, jsonMenu); return(this.Content(content)); }
public async Task <ActionResult> SendTemplateMessage(string jsonTPMessage) { await WXApi.RefreshAccessToken(APPID, APPSECRET); string content = await WXApi.SendTemplateMessageAsync(WXApi.AccessToken, jsonTPMessage); return(this.Content(content)); }