From 8d0a11eb7260e4272474327f9b8cc21d41f1648c Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Thu, 27 Jun 2024 09:48:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E5=A1=AB=E5=86=99=E9=82=80?= =?UTF-8?q?=E8=AF=B7=E7=A0=81=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/user.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/api/user.js b/api/user.js index fb2dadd..fcf45a9 100644 --- a/api/user.js +++ b/api/user.js @@ -147,12 +147,16 @@ export function getRechargeRecord(params) { return request.post("recharge/rechargeRecord", {params}) } - -// 填写邀请码(绑定上级) +// 新版 邀请码 export function bindSuperior(data) { - return request.post("distribution/code", data) + return request.post("distribution/writeCode", data) } +// 原系统 填写邀请码(绑定上级) +// export function bindSuperior(data) { +// return request.post("distribution/code", data) +// } + // 分销会员申请 export function applyDistribute(data) { return request.post("distribution/apply", data)