update 租赁系统业务完成,其他矿池挖矿机器租赁业务开始

This commit is contained in:
yyb
2025-11-20 11:01:34 +08:00
parent a7a2b73d00
commit 7cd19a2338
3 changed files with 444 additions and 1 deletions

View File

@@ -52,6 +52,12 @@ public class LeaseProduct implements Serializable {
*/
private Integer type;
/**
* 商品矿池类型 0 自营矿池 1 非自营矿池
*/
private Integer poolType;
/**
* 上下架状态0 上架1 下架
*/

View File

@@ -329,7 +329,6 @@ public class LeaseProductServiceImpl extends ServiceImpl<LeaseProductMapper, Lea
if (leaseShopConfig.isEmpty()){
return Result.fail("添加商品失败,请先绑定收款钱包");
}
String algorithm = Algorithm.getAlgorithm(productURDVo.getCoin());
String coinFullName = Algorithm.getCoinFullName(productURDVo.getCoin());
LeaseProduct product = LeaseProduct.builder()