市北党建引领小程序初始化
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.

37 lines
1.0 KiB

var fly = require("./request.js")
module.exports = {
submitIntoparty:submitIntoparty,
getByLoginUser:getByLoginUser,
submitFlowparty:submitFlowparty,
submitKnightpionner:submitKnightpionner,
submitReportparty:submitReportparty,
getDeptTree:getDeptTree
}
// 我要入党提交接口
function submitIntoparty (para) {
return fly.post("app-user/intoparty/save",para)
}
// 获取社区信息
function getByLoginUser () {
return fly.get("sys/dept/party/getDeptTree")
}
//流动党员提交接口
function submitFlowparty (para) {
return fly.post("app-user/flowparty/save",para)
}
//城市观察员提交接口
function submitKnightpionner (para) {
return fly.post("app-user/knightpionner/save",para)
}
//在职党员提交接口
function submitReportparty (para) {
return fly.post("app-user/reportparty/save",para)
}
//街道tree
function getDeptTree () {
2 years ago
return fly.get(`admin/dept/getAllDeptTree`)
//带有微网格
// return fly.get(`sys/dept/party/getDeptTree`)
}