Contoh response menu

mail@pastecode.io avatar
unknown
json
2 years ago
1.9 kB
1
Indexable
Never
datas: [
      {
        menu_id: 1,
        menu_slug: "aplikasi",
        menu_nama: "aplikasi",
        menu_parent: 0,
        menu_url: "",
        user_level: 123,
        created_on: "2022-01-04T08:15:50.000Z",
        created_by: "isnan",
        modified_on: null,
        modified_by: null,
        subItems: [],
      },
      {
        menu_id: 3,
        menu_slug: "data-master",
        menu_nama: "datamaster",
        menu_parent: 0,
        menu_url: "",
        user_level: 12,
        created_on: "2022-01-04T08:15:50.000Z",
        created_by: "isnan",
        modified_on: null,
        modified_by: null,
        subItems: [
          {
            menu_id: 11,
            menu_slug: "mahasiswa",
            menu_nama: "mahasiswa",
            menu_parent: 3,
            menu_url: "",
            user_level: 12,
            created_on: "2022-01-04T08:15:50.000Z",
            created_by: "isnan",
            modified_on: null,
            modified_by: null,
            subItems: [
              {
                menu_id: 16,
                menu_slug: "Daftar Mahasiswa",
                menu_nama: "daftarmahasiswa",
                menu_parent: 11,
                menu_url: "?mod=daftarmahasiswa",
                user_level: 12,
                created_on: "2022-01-04T08:15:50.000Z",
                created_by: "isnan",
                modified_on: null,
                modified_by: null,
              },
            ],
          },
          {
            menu_id: 12,
            menu_slug: "dosen",
            menu_nama: "dosen",
            menu_parent: 3,
            menu_url: "?mod=daftardosen",
            user_level: 12,
            created_on: "2022-01-04T08:15:50.000Z",
            created_by: "isnan",
            modified_on: null,
            modified_by: null,
            subItems: [],
          },
        ],
      },
    ],