KKSU
2023-12-04 bcefb9635116c16005c79d098edcec6d0a1e3062
用户留言
3 files modified
5 ■■■■■ changed files
src/main/java/cc/mrbird/febs/mall/service/impl/AgentServiceImpl.java 2 ●●● patch | view | raw | blame | history
src/main/resources/templates/febs/views/modules/news/productBuyListNew.html 2 ●●● patch | view | raw | blame | history
src/test/java/cc/mrbird/febs/ProfitTest.java 1 ●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/service/impl/AgentServiceImpl.java
@@ -851,7 +851,7 @@
                //偏移时间
                DateTime dateTime = DateUtil.offsetDay(payTime, cycle);
                int compare = DateUtil.compare(now, dateTime);
                if(compare <= 0){
                if(compare >= 0){
                    /**
                     * 更新买单状态
                     * 收益生成一条卖单
src/main/resources/templates/febs/views/modules/news/productBuyListNew.html
@@ -260,7 +260,7 @@
                    {field: 'orderNo', title: '编号', minWidth: 200,align:'center'},
                    {field: 'nftTotal', title: '预约额度', minWidth: 100,align:'center'},
                    {field: 'nftAva', title: '可分配', minWidth: 100,align:'center'},
                    {field: 'orderTime', title: '匹配时间', minWidth: 120,align:'center'},
                    {field: 'payTime', title: '匹配时间', minWidth: 120,align:'center'},
                    {templet: '#isBuyState', title: '预约状态', minWidth: 100,align:'center'},
                    {templet: '#isBuyMateState', title: '匹配状态', minWidth: 100,align:'center'},
                    {title: '操作',
src/test/java/cc/mrbird/febs/ProfitTest.java
@@ -97,6 +97,7 @@
    @Test
    public void agentProfitTrade() {
        agentService.BuyToSell();
//        try {
//            System.out.println(resourceLoader.getResource("classpath:lkl/api_private_key.pem").getInputStream());
//        } catch (IOException e) {