配置修改

This commit is contained in:
2026-04-25 15:46:31 +08:00
parent d2173816ae
commit 6288bb8ecc
3 changed files with 134 additions and 6 deletions

View File

@ -107,7 +107,19 @@ class Distribution extends Api
}
return JsonServer::error(DistributionLogic::getError(), [], 0, 0);
}
/**
* 填写邀请码
*/
public function wxCode()
{
$user_id = $this->user_id;
$post = $this->request->post();
$result = DistributionLogic::wxCode($post,$user_id);
if($result) {
return JsonServer::success('绑定上级成功');
}
return JsonServer::error(DistributionLogic::getError(), [], 0, 0);
}
/**
* 分销订单
*/