Commit 863f273c by Jony.L

算力资源 客户端展示服务器用户名密码

parent 25903c94
...@@ -70,6 +70,11 @@ public class AppResourceOrderRespVO { ...@@ -70,6 +70,11 @@ public class AppResourceOrderRespVO {
@Schema(description = "服务器所在地", example = "深圳") @Schema(description = "服务器所在地", example = "深圳")
private String location; private String location;
@Schema(description = "服务器用户名", example = "root")
private String initUsername;
@Schema(description = "服务器密码", example = "password123")
private String initPassword;
@Schema(description = "备注", example = "高性能GPU服务器,适合AI训练") @Schema(description = "备注", example = "高性能GPU服务器,适合AI训练")
private String remark; private String remark;
......
...@@ -371,6 +371,8 @@ public class ResourceOrderServiceImpl implements ResourceOrderService { ...@@ -371,6 +371,8 @@ public class ResourceOrderServiceImpl implements ResourceOrderService {
respVO.setStorage(spu.getStorage()); respVO.setStorage(spu.getStorage());
respVO.setIp(spu.getIp()); respVO.setIp(spu.getIp());
respVO.setLocation(spu.getLocation()); respVO.setLocation(spu.getLocation());
respVO.setInitUsername(spu.getInitUsername());
respVO.setInitPassword(spu.getInitPassword());
respVO.setSkuName(spu.getName() + " - " + sku.getDurationDays() + "天"); respVO.setSkuName(spu.getName() + " - " + sku.getDurationDays() + "天");
...@@ -420,6 +422,8 @@ public class ResourceOrderServiceImpl implements ResourceOrderService { ...@@ -420,6 +422,8 @@ public class ResourceOrderServiceImpl implements ResourceOrderService {
respVO.setStorage(spu.getStorage()); respVO.setStorage(spu.getStorage());
respVO.setIp(spu.getIp()); respVO.setIp(spu.getIp());
respVO.setLocation(spu.getLocation()); respVO.setLocation(spu.getLocation());
respVO.setInitUsername(spu.getInitUsername());
respVO.setInitPassword(spu.getInitPassword());
respVO.setSkuName(spu.getName() + " - " + sku.getDurationDays() + "天"); respVO.setSkuName(spu.getName() + " - " + sku.getDurationDays() + "天");
// 设置分类名称 // 设置分类名称
......
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 sign in to comment