| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254 |
- import request from '../js/request.js';
- export default {
- //获取推广人员跳转小程序的链接
- getExtensionId(data) {
- return request({
- url: '/expand/wechat/getExtensionId',
- method: 'GET',
- })
- },
- //添加拓客经理二维码被扫记录
- addRecordForManager(data) {
- return request({
- url: '/expand/userScanRecord/addRecordForManager',
- method: 'POST',
- data: data
- })
- },
- //将扫码记录修改为成功
- updateScanRecordById(data) {
- return request({
- url: '/expand/userScanRecord/updateRecordById?id=' + data.recordId,
- method: 'POST'
- })
- },
- // 协议查询
- aboutByType(data) {
- return request({
- url: '/system/openapi/getAboutByType',
- method: 'GET',
- data: data
- })
- },
- // 提现记录
- records(data) {
- return request({
- url: '/expand/wechat/withdraw/records',
- method: 'POST',
- data: data
- })
- },
- // 提现
- apply(data) {
- return request({
- url: '/expand/wechat/withdraw/apply',
- method: 'POST',
- data: data
- })
- },
- // 查询今日是否能提现
- canWithdraw() {
- return request({
- url: '/expand/wechat/canWithdraw',
- method: 'GET'
- })
- },
- // 统计
- exStatistics(data) {
- return request({
- url: '/member/wechat/exStatistics',
- method: 'POST',
- data: data
- })
- },
- // 拓客经理查询合作伙伴
- getMyExpandPartnerList(data) {
- return request({
- url: '/member/wechat/getMyExpandPartnerList',
- method: 'GET',
- data: data
- })
- },
- idCardAndName(data) {
- return request({
- url: '/resource/authentication/idCardAndName',
- method: 'GET',
- data: data
- })
- },
- getMyMemberList(data) {
- return request({
- url: '/member/wechat/getMyMemberList',
- method: 'GET',
- data: data
- })
- },
- getMyExpandAttacheList(data) {
- return request({
- url: '/member/wechat/getMyExpandAttacheList',
- method: 'GET',
- data: data
- })
- },
- //查询奖励记录
- getRecord(data) {
- return request({
- url: '/member/wechat/getRecord',
- method: 'GET',
- data: data
- })
- },
- //获取规则列表,拓客经理调用
- getRuleList() {
- return request({
- url: '/member/wechat/getRuleList',
- method: 'GET'
- })
- },
- //获取角色列表,拓客经理调用
- getRoleList() {
- return request({
- url: '/member/wechat/getRoleList',
- method: 'GET'
- })
- },
- //角色绑定规则,拓客经理调用
- roleBindRule(param) {
- return request({
- url: '/member/wechat/roleBindRule',
- method: 'POST',
- data: param
- })
- },
- //取消角色绑定规则,拓客经理调用
- cancelRoleBindRule(param) {
- return request({
- url: '/member/wechat/cancelRoleBindRule',
- method: 'POST',
- data: param
- })
- },
- //查询角色已经绑定的规则,拓客经理调用
- getRuleByRoleId(param) {
- return request({
- url: '/member/wechat/getRuleByRoleId',
- method: 'POST',
- data: param
- })
- },
- //查询角色没有绑定的规则,拓客经理调用
- getNewRules(param) {
- return request({
- url: '/member/wechat/getNewRules',
- method: 'POST',
- data: param
- })
- },
- // get请求,获取手机验证码
- getSmsCode(data) {
- return request({
- url: '/resource/sms/code',
- method: 'GET',
- data: data
- })
- },
- getImage(id) {
- return request({
- url: '/resource/oss/listByIds/' + id,
- method: 'GET'
- })
- },
- // post请求,微信支付(根据订单ID)
- wechatPay(data) {
- return request({
- url: '/business/wxPay/jsapiPay?orderNo=' + data.orderNo,
- method: 'POST',
- data: data
- })
- },
- // 新增/修改分组
- addUpdateGroup(data) {
- return request({
- url: '/member/wechat/addUpdateGroup',
- method: 'POST',
- data: data
- })
- },
- // 分组列表
- groupList(data) {
- return request({
- url: '/member/wechat/groupList',
- method: 'POST',
- data: data
- })
- },
- // 查询分组成员
- getGroupUserList(data) {
- return request({
- url: '/member/wechat/getGroupUserList',
- method: 'GET',
- data: data
- })
- },
- // 查询未分组的成员
- getNoGroupUserList() {
- return request({
- url: '/member/wechat/getNoGroupUserList',
- method: 'GET'
- })
- },
- // 修改分组成员
- deleteGroup(data) {
- return request({
- url: '/member/wechat/deleteGroup',
- method: 'GET',
- data: data
- })
- },
- // 修改分组成员
- updateGroupUser(data) {
- return request({
- url: '/member/wechat/updateGroupUser',
- method: 'POST',
- data: data
- })
- },
- }
|