@page
@model CustomMenuQueryModel
@{
ViewData["Title"] = "自定义菜单查询";
}
@ViewData["Title"]
@Html.Partial("~/Pages/Partials/CodePartail.cshtml", new SupplierWeb.Pages.Partials.CodePartailModel
{
Index = 1,
IsActive = true,
ShowTestButtons = true,
Api = "/api/menuquery",
Code = () =>
{
return @"
var request = new MenuGetRequest
{
AccessToken = AccessToken
};
var response = _clientExecute(request);";
}
})