CustomMenuQuery.cshtml 563 B

123456789101112131415161718192021222324252627
  1. @page
  2. @model CustomMenuQueryModel
  3. @{
  4. ViewData["Title"] = "自定义菜单查询";
  5. }
  6. <div class="row-fluid">
  7. <h3 class="page-title">@ViewData["Title"]</h3>
  8. </div>
  9. <div class="row-fluid">
  10. @Html.Partial("~/Pages/Partials/CodePartail.cshtml", new SupplierWeb.Pages.Partials.CodePartailModel
  11. {
  12. Index = 1,
  13. IsActive = true,
  14. ShowTestButtons = true,
  15. Api = "/api/menuquery",
  16. Code = () =>
  17. {
  18. return @"
  19. var request = new MenuGetRequest
  20. {
  21. AccessToken = AccessToken
  22. };
  23. var response = _clientExecute(request);";
  24. }
  25. })
  26. </div>