市北党建引领小程序初始化
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

74 lines
2.3 KiB

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInfo = exports.handleCollect = exports.getGuideList_collect = exports.getGuideList = exports.getCateList = exports.getAgencyList = exports.getAgencygridlist = exports.getAgencyData = void 0;
var request = require("../../../utils/request").request;
var baseURL = require("../../../utils/config").getProductionBaseUrl();
function getAgencyData() {
return request("data/aggregator/org/staffagencygridlist", {
method: "POST"
}, baseURL);
}
exports.getAgencyData = getAgencyData;
function getAgencygridlist() {
return request("data/aggregator/org/agencygridlist", {
method: "POST"
}, baseURL);
}
exports.getAgencygridlist = getAgencygridlist;
function getAgencyList() {
return request("gov/org/customeragency/agencylist", {
method: "POST",
data: {}
}, baseURL);
}
exports.getAgencyList = getAgencyList;
function getCateList() {
return request("gov/voice/guidecategory/getcategory", {
method: "POST",
data: {
queryOrigin: "query"
}
}, baseURL);
}
exports.getCateList = getCateList;
function getGuideList(_a) {
var categoryId = _a.categoryId, agencyId = _a.agencyId, guideTitle = _a.guideTitle, pageNo = _a.pageNo, pageSize = _a.pageSize;
return request("gov/voice/guide/list", {
method: "POST",
data: {
categoryCode: categoryId,
agencyId: agencyId, guideTitle: guideTitle, pageNo: pageNo, pageSize: pageSize
}
}, baseURL);
}
exports.getGuideList = getGuideList;
function getGuideList_collect(_a) {
var pageNo = _a.pageNo, pageSize = _a.pageSize;
return request("gov/voice/guide/collectionlist", {
method: "POST",
data: {
pageNo: pageNo, pageSize: pageSize
}
}, baseURL);
}
exports.getGuideList_collect = getGuideList_collect;
function handleCollect(_a) {
var guideId = _a.guideId;
return request("gov/voice/guidecollection/collection", {
method: "POST",
data: {
guideId: guideId
}
}, baseURL);
}
exports.handleCollect = handleCollect;
function getInfo(_a) {
var guideId = _a.guideId;
return request("gov/voice/guide/detail", {
method: "POST",
data: {
guideId: guideId
}
}, baseURL);
}
exports.getInfo = getInfo;