12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- import request from '@/utils/request'
- // api docs: https://www.showdoc.com.cn/2598833910230611/11558452686114862
- // 查询俱乐部列表
- export function getClubListApi(params) {
- return request({
- url: '/people-bank-club/getClubAll',
- method: 'get',
- params
- })
- }
- // 新增俱乐部
- export function addClubApi(data) {
- return request({
- url: '/people-bank-club/postClub',
- method: 'post',
- data
- })
- }
- // 编辑俱乐部
- export function editClubApi(data) {
- return request({
- url: '/people-bank-club/patchClub',
- method: 'patch',
- data
- })
- }
- // 删除俱乐部
- export function deleteClubApi(params) {
- return request({
- url: '/people-bank-club/deleteClubById',
- method: 'delete',
- params
- })
- }
- // 获取俱乐部详情
- export function getClubDetailApi(params){
- return request({
- url: '/people-bank-club/getClubById',
- method: "GET",
- params
- })
- }
- // 设置会员为管理
- export function patchClubMemberIsAdminApi(params){
- return request({
- url: '/people-bank-club-member/patchClubMemberIsAdmin',
- method: "PATCH",
- params
- })
- }
- // 获取会员列表
- export function getClubMemberApi(params){
- return request({
- url: '/people-bank-member/getMemberAll',
- method: "GET",
- params
- })
- }
- // 获取活动列表
- // 获取会员列表
- export function getActivitiesAllApi(params){
- return request({
- url: '/people-bank-activities/getActivitiesAll',
- method: "GET",
- params
- })
- }
- // 获取活动详情
- export function getActivityDetailApi(params){
- return request({
- url: '/people-bank-activities/getActivitiesById',
- method: "GET",
- params
- })
- }
|