import request from "../../utils/request";
export var getJsonData = function getJsonData(pageCode) {
  return new Promise(function (resolve, reject) {
    request({
      url: "/api/gzmpc-lowcode/page/getPageEntityList?pageCode=" + pageCode,
      method: 'GET'
    }).then(function (res) {
      resolve(res.data);
    })["catch"](function (err) {
      reject(err);
    });
  });
};