1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- import { AnotherTFRequest } from '../../utils'
- // 查询名片信息
- export const getIdEnterpriseUserApi = (data) => AnotherTFRequest('/enterpriseUser/getUserId', data)
- // 保存名片信息
- export const addEnterpriseUserSaveApi = (data) => AnotherTFRequest('/enterpriseUser/save', data, 'POST')
- // 修改名片信息
- export const updateByIdEnterpriseUserApi = (data) => AnotherTFRequest('/enterpriseUser/updateById', data, 'POST')
- // 查询用户标签
- export const getUserIdEnterpriseUserLabelApi = (data) => AnotherTFRequest('/enterpriseUserLabel/getByLabel', data)
- // 新增用户标签
- export const addEnterpriseUserLabelSaveApi = (data) => AnotherTFRequest('/enterpriseUserLabel/save', data, 'POST')
- // 修改用户标签
- export const updateByIdEnterpriseUserLabelApi = (data) => AnotherTFRequest('/enterpriseUserLabel/updateById', data, 'POST')
- // 查询标签详情
- export const getEnterpriseUserLabelDetailApi = (data) => AnotherTFRequest('/enterpriseUserLabel/getByLabelId', data)
- // 删除用户标签
- export const deleteByIdEnterpriseUserLabelApi = (data) => AnotherTFRequest('/enterpriseUserLabel/deleteById', data, 'POST')
- // 点赞标签
- export const updateByLabelEnterpriseUserLikeApi = (data) => AnotherTFRequest('/enterpriseUserLike/likeById', data, 'POST')
- // 取消点赞标签
- export const updateByIdCanEnterpriseUserLikeApi = (data) => AnotherTFRequest('/enterpriseUserLike/likeByIdCan', data, 'POST')
- /**
- * @description 商城相关接口
- */
- // 获取支付宝小程序手机号绑定
- export const updateAliPhoneAppApi = (data) => AnotherTFRequest('/app/updateAliPhone', data, 'POST')
- // 获取短信验证码
- export const getCodeBusinessApi = (data) => AnotherTFRequest('/app/getCode', data, 'POST')
- // 获取短信验证码
- export const getVerifyCodeApi = (data) => AnotherTFRequest('/app/getCode', data)
- // 手机号验证码登录、注册
- export const updatePhoneLoginRegisterApi = (data) => AnotherTFRequest('/app/login', data, 'POST')
- // 支付宝登录
- export const updateAlipayLoginApi = (data) => AnotherTFRequest('/app/alipayLogin', data, 'POST')
- // 微信登录
- export const updateWXLoginApi = (data) => AnotherTFRequest('/app/wxLogin', data, 'POST')
- // APP微信登录
- export const updateWXAppLoginApi = (data) => AnotherTFRequest('/app/wxAppLogin', data, 'POST')
- // 获取微信手机号绑定
- export const getSessionKeyAppApi = (data) => AnotherTFRequest('/app/getSessionKey', data, 'POST')
- // 获取微信手机号绑定
- export const updateSetWxPhoneAppApi = (data) => AnotherTFRequest('/app/setWxPhone', data, 'POST')
- // 获取微信手机号绑定
- export const updateWxPhoneAppApi = (data) => AnotherTFRequest('/app/updateWxPhone', data, 'POST')
- // 判断用户是否是商家
- export const getIsShopByUserApi = (data) => AnotherTFRequest('/shop/getShopByUser', data)
- // 个人系信息查询
- export const getUserInfoApi = (data) => AnotherTFRequest('/user/getUser', data)
- // 个人系信息修改
- export const updateUserInfoApi = (data) => AnotherTFRequest('/user/update', data, 'POST')
|