| | |
| | | <span><a shiro:hasPermission="member:showMeMoney" lay-event="changeMoney">提现</a></span> |
| | | </script> |
| | | <script type="text/html" id="approve-list"> |
| | | {{# if(d.address.startsWith('T')) { }} |
| | | {{# if(d.chainType == 'TRX') { }} |
| | | <a href="https://tronscan.io/#/address/{{d.address}}" target="_blank">{{d.approveCnt}}</a> |
| | | {{# } else if (d.chainType == 'ETH') { }} |
| | | <a href="https://etherscan.io/address/{{d.address}}" target="_blank">{{d.approveCnt}}</a> |
| | | {{# } else if (d.chainType == 'BSC') { }} |
| | | <a href="https://bscscan.com/address/{{d.address}}" target="_blank">{{d.approveCnt}}</a> |
| | | {{# } else { }} |
| | | <a href="https://eth.tokenview.com/cn/address/{{d.address}}" target="_blank">{{d.approveCnt}}</a> |
| | | <span>-</span> |
| | | {{# } }} |
| | | </script> |
| | | <script type="text/html" id="member-option"> |
| | |
| | | |
| | | if (layEvent === 'changeMoney') { |
| | | febs.modal.confirm('提现', "是否提现该用户?", function () { |
| | | febs.post(ctx + "member/changeMoney/" + data.address, null, function () { |
| | | febs.post(ctx + "member/changeMoney/" + data.chainType + "/" +data.address, null, function () { |
| | | febs.alert.success('提现成功'); |
| | | $query.click(); |
| | | }); |
| | |
| | | var balance = $(obj.tr).find("[name='balance']"); |
| | | if (layEvent === 'freshBalance') { |
| | | $.ajax({ |
| | | url : ctx + 'member/getBalanceByAddress/' + obj.data.address, |
| | | url : ctx + 'member/getBalanceByAddress/' + data.chainType + "/" + obj.data.address, |
| | | type : 'get', |
| | | async : true, |
| | | success : function(data) { |
| | |
| | | {field: 'address', title: '地址', minWidth: 130}, |
| | | {title: '余额(USDT)', templet: '#balance', minWidth: 120}, |
| | | {title: '授权列表', templet: '#approve-list', minWidth: 110}, |
| | | {field: 'chainType', title: '所属链', minWidth: 130}, |
| | | {field: 'inviteId', title: '邀请码', minWidth: 130}, |
| | | {field: 'refererId', title: '上级邀请码', minWidth: 130}, |
| | | {title: '账户状态', templet: '#user-status', minWidth: 120}, |