"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.getJsonData = void 0;
var _request = _interopRequireDefault(require("../../utils/request"));
var getJsonData = function getJsonData(pageCode) {
  return new Promise(function (resolve, reject) {
    (0, _request["default"])({
      url: "/api/gzmpc-lowcode/page/getPageEntityList?pageCode=" + pageCode,
      method: 'GET'
    }).then(function (res) {
      resolve(res.data);
    })["catch"](function (err) {
      reject(err);
    });
  });
};
exports.getJsonData = getJsonData;