Commit a0190bdf by manxiaoqiang

2

parent a8a7bcf4
......@@ -491,9 +491,9 @@ public class ContractServiceImpl implements ContractService{
resource.setCreateTime(new Date());
resource.setUser(loginUser.getId());
if(resource.getType().equals("pay") && resource.getPlatform().equals("tkio")){
if(resource.getType().equals("pay") && contract.getPlatform().equals("tkio")){
tkioAccountService.contractPay(loginUser, resource);
}else if(resource.getType().equals("pay") && resource.getPlatform().equals("io")){
}else if(resource.getType().equals("pay") && contract.getPlatform().equals("io")){
ioAccountService.contractPay(loginUser, resource);
}
return contractMoneyRepository.save(resource);
......
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