// +----------------------------------------------------------------------
// | 麦沃德科技赋能开发者，助力商协会发展
// +----------------------------------------------------------------------
// | Copyright (c) 2017～2024  www.wdsxh.cn    All rights reserved.
// +----------------------------------------------------------------------
// | 沃德商协会系统并不是自由软件，不加密，并不代表开源，未经许可不可自由转售和商用
// +----------------------------------------------------------------------
// | Author: MY WORLD Team <bd@maiwd.cn>   www.maiwd.cn
// +----------------------------------------------------------------------
// | 会员接口列表文件 开发者: 麦沃德科技-暴雨
// +----------------------------------------------------------------------

export default {
	// 会员列表
	list: {
		url: '/api/wdsxh/member/member/index',
		method: 'GET',
	},
	// 自定义装修会员列表
	diyList: {
		url: '/api/wdsxh/member/member/diy_list',
		method: 'GET',
	},
	// 自定义装修搜索会员列表
	diySearchList: {
		url: '/api/wdsxh/search/search_member_name',
		method: 'GET',
	},
	// 会员地图会员列表
	memberMapList: {
		url: '/api/wdsxh/member/member/member_map_list',
		method: 'GET',
	},
	// 会员单位
	units: {
		url: '/api/wdsxh/member/member/unit',
		method: 'GET',
	},
	// 会员详情
	details: {
		url: '/api/wdsxh/member/member/details',
		auth: true,
		method: 'GET',
	},
	// 企业详情
	enterprise: {
		url: '/api/wdsxh/member/member/company_details',
		auth: true,
		method: 'GET',
	},
	// 团体详情
	organization: {
		url: '/api/wdsxh/member/member/organize_details',
		auth: true,
		method: 'GET',
	},
	// 对外限制
	limit: {
		url: '/api/wdsxh/member/member/auth',
		method: 'GET',
	},
	// 会员级别
	level: {
		url: '/api/wdsxh/member/member_apply/level_list',
		method: 'GET',
	},
	// 入会类型
	type: {
		url: '/api/wdsxh/config/join_config',
		method: 'GET',
	},
	// 会员状态
	state: {
		url: '/api/wdsxh/user_wechat/apply_member_state',
		auth: true,
		method: 'GET',
	},
	// 入会字段
	field: {
		url: '/api/wdsxh/member/join_config/custom_field',
		auth: true,
		method: 'GET',
	},
	// 入会申请
	apply: {
		url: '/api/wdsxh/member/member_apply/submit',
		auth: true,
		method: 'POST',
	},
	// 申请详情
	applyDetails: {
		url: '/api/wdsxh/member/member_apply/details',
		auth: true,
		method: 'GET',
	},
	// 入会申请验证
	applyCheck: {
		url: '/api/wdsxh/member/member_apply/check_mobile_use',
		auth: true,
		method: 'GET',
	},
	// 会员资料
	information: {
		url: '/api/wdsxh/member/member/information_details',
		auth: true,
		method: 'GET',
	},
	// 编辑资料
	editInformation: {
		url: '/api/wdsxh/member/member/submit_information',
		auth: true,
		method: 'POST',
	},
	// 会费缴纳详情
	payDetails: {
		url: '/api/wdsxh/member/member/membershipPayDetail',
		auth: true,
		method: 'GET',
	},
	// 线上缴费
	accountInfo: {
		url: '/api/wdsxh/association/public_account_information',
		auth: true,
		method: 'GET',
	},
	// 线上缴费
	payOnline: {
		url: '/api/wdsxh/member/member/membershipPay',
		auth: true,
		method: 'POST',
	},
	// 线下缴费
	payOffline: {
		url: '/api/wdsxh/member/member/submit_pay_voucher',
		auth: true,
		method: 'POST',
	},
	// 免费入会
	payFree: {
		url: '/api/wdsxh/member/member/freeMembershipPay',
		auth: true,
		method: 'POST',
	},
	// 证书查询
	certificate: {
		url: '/api/wdsxh/member/cert/index',
		auth: true,
		method: 'GET',
	},
	// 行业分类
	industry: {
		url: '/api/wdsxh/member/member_apply/industry_category_list',
		method: 'GET',
	},
	// 通讯录
	addressBook: {
		url: '/api/wdsxh/member/member/address_book',
		auth: true,
		method: 'GET',
	},
	// 通讯录限制
	addressBookLimit: {
		url: '/api/wdsxh/member/member/address_book_auth',
		auth: true,
		method: 'GET',
	},
	// 推广会员列表
	promotionList: {
		url: '/api/wdsxh/member/promotion/index',
		auth: true,
		method: 'GET',
	},
	// 审核会员
	examine: {
		// 审核会员列表
		list: {
			url: '/api/wdsxh/member/member_apply_examine/index',
			auth: true,
			method: 'GET',
		},
		// 审核会员详情
		details: {
			url: '/api/wdsxh/member/member_apply_examine/details',
			auth: true,
			method: 'GET',
		},
		// 审核入会申请
		examineApply: {
			url: '/api/wdsxh/member/member_apply_examine/examine',
			auth: true,
			method: 'POST',
		},
		// 审核线下支付
		examineOffline: {
			url: '/api/wdsxh/member/member_apply_examine/offline_examine',
			auth: true,
			method: 'POST',
		},
	},
	// 产品维护
	product: {
		// 产品列表
		list: {
			url: '/api/wdsxh/company_goods/index',
			auth: true,
			method: 'GET',
		},
		// 添加产品
		add: {
			url: '/api/wdsxh/company_goods/add',
			auth: true,
			method: 'POST',
		},
		// 删除产品
		delete: {
			url: '/api/wdsxh/company_goods/del',
			auth: true,
			method: 'POST',
		},
		// 修改产品
		edit: {
			url: '/api/wdsxh/company_goods/edit',
			auth: true,
			method: 'POST',
		},
		// 编辑详情
		editDetails: {
			url: '/api/wdsxh/company_goods/detail',
			auth: true,
			method: 'GET',
		},
		// 产品详情
		details: {
			url: '/api/wdsxh/member/member/companyGoodsDetail',
			method: 'GET',
		},
	},
};