/// <summary> /// 测试个性化菜单匹配结果 /// </summary> /// <param name="userId">user_id可以是粉丝的OpenID 也可以是粉丝的微信号</param> /// <returns></returns> public static async Task <TestPersonalMenus> TestAsync(int userId) { var test = new TestPersonalMenus(userId); return(await test.RequestAsModelAsync <TestPersonalMenus>()); }
/// <summary> /// 测试个性化菜单匹配结果 /// </summary> /// <param name="userId">user_id可以是粉丝的OpenID 也可以是粉丝的微信号</param> /// <returns></returns> public static TestPersonalMenus Test(int userId) { var test = new TestPersonalMenus(userId); return(test.RequestAsModel <TestPersonalMenus>()); }