|
@@ -27,5 +27,11 @@ export const getChongInfo = (params) => request({ url: "index/get_chong_info", m
|
|
// 党员申请
|
|
// 党员申请
|
|
export const applyDangyuan = (data) => request({ url: "user/apply_dangyuan", method: "post", data,loading:true });
|
|
export const applyDangyuan = (data) => request({ url: "user/apply_dangyuan", method: "post", data,loading:true });
|
|
// 参与退休计划
|
|
// 参与退休计划
|
|
-export const joinRetirement = (data) => request({ url: "/user/join_retirement", method: "post", data,loading:true });
|
|
|
|
|
|
+export const joinRetirement = (type) => request({
|
|
|
|
+ url: "/user/join_retirement",
|
|
|
|
+ method: "post",
|
|
|
|
+ data: new URLSearchParams({ type }),
|
|
|
|
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
|
|
+ loading: true
|
|
|
|
+});
|
|
|
|
|