Commit d2c12f58 authored by renjie's avatar renjie

1.生成3proxy配置文件

2.获取3proxy配置文件接口
parent 1452ec1b
......@@ -368,7 +368,7 @@ public class AccountServiceImpl implements AccountService {
if (account.getPromotion() != null) {
int invitedUsers = repository.countByPromotionCodeAndParentIsNull(account.getPromotion().getCode());
String code = account.getPromotion().getCode();
List<Account> promotes = repository.findByPromotionCode(code);
List<Account> promotes = repository.findByPromotionCodeAndParentIsNull(code);
double totalCommission = 0;
totalCommission = 0;
for (Account promote : promotes) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment