新增营销系统、分销系统、会员功能、门店、提现功能

This commit is contained in:
Shaw
2024-02-08 21:01:37 +08:00
parent 68b3f2dcc3
commit 17c043348a
1398 changed files with 81279 additions and 56269 deletions

View File

@ -1,25 +1,26 @@
import api from './api'
import { requestUtil } from '@/utils/request'
import { VUE_APP_API_URL } from '@/config'
/**
* 使用手机 + 验证码登录
*/
export function smsLogin(data) {
return api.post('/member/auth/sms-login', data, {login: false})
return requestUtil.post('/member/auth/sms-login', data, {login: false})
}
/**
* 使用手机 + 验证码登录
*/
export function sendSmsCode(data) {
return api.post('/member/auth/send-sms-code', data, {login: false})
return requestUtil.post('/member/auth/send-sms-code', data, {login: false})
}
/**
* 小程序
*/
export function weixinLogin(data) {
return api.post('/member/auth/weixin-mini-app-login', data, {login: false})
return requestUtil.post('/member/auth/weixin-mini-app-login', data, {login: false})
}
// 用户协议地址
@ -27,3 +28,6 @@ export const userAgreementUrl = `${ VUE_APP_API_URL }/system/dict-data/agreement
// 隐私协议地址
export const privacyAgreementUrl = `${ VUE_APP_API_URL }/system/dict-data/agreement/2`
// 分销商协议地址
export const distributionAgreementUrl = `${ VUE_APP_API_URL }/system/dict-data/get-stream?dictType=distributor_agreement&label=分销商协议`