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)