| | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.jdbc.core.JdbcTemplate; |
| | | import org.springframework.web.bind.annotation.CrossOrigin; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | import kernel.web.BaseAction; |
| | | import kernel.web.ResultObject; |
| | | import project.Constants; |
| | | import project.data.DataService; |
| | | import project.log.Log; |
| | | import project.log.LogService; |
| | | import project.party.PartyService; |
| | | import project.party.model.Party; |
| | | import project.redis.RedisHandler; |
| | | import project.syspara.SysparaService; |
| | | import project.wallet.WalletGatherService; |
| | | import project.wallet.WalletLogService; |
| | | import project.wallet.WalletService; |
| | | import project.wallet.internal.WalletGatherServiceImpl; |
| | | import project.withdraw.Withdraw; |
| | | import project.withdraw.WithdrawService; |
| | | import util.LockFilter; |
| | |
| | | |
| | | @Autowired |
| | | private LogService logService; |
| | | |
| | | @Autowired |
| | | private RedisHandler redisHandler; |
| | | |
| | | @Autowired |
| | | private JdbcTemplate jdbcTemplate; |
| | | |
| | | @Autowired |
| | | private WalletService walletService; |
| | | |
| | | |
| | | private final String action = "/api/withdraw!"; |
| | | |
| | |
| | | withdraw.setDeviceIp(this.getIp()); |
| | | |
| | | // 保存 |
| | | this.withdrawService.saveApply(withdraw, channel, null, googleCode); |
| | | WalletGatherService walletGatherService = new WalletGatherServiceImpl(jdbcTemplate,redisHandler,walletService); |
| | | this.withdrawService.saveApply(withdraw, channel, null, googleCode,walletGatherService); |
| | | |
| | | Log log = new Log(); |
| | | Party party = this.partyService.cachePartyBy(partyId, false); |