Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
863f273c
authored
Oct 22, 2025
by
Jony.L
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
算力资源 客户端展示服务器用户名密码
parent
25903c94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
computility-module-compute/computility-module-compute-biz/src/main/java/com/luhu/computility/module/compute/controller/app/resourceorder/vo/AppResourceOrderRespVO.java
+6
-1
computility-module-compute/computility-module-compute-biz/src/main/java/com/luhu/computility/module/compute/service/resourceorder/ResourceOrderServiceImpl.java
+4
-0
No files found.
computility-module-compute/computility-module-compute-biz/src/main/java/com/luhu/computility/module/compute/controller/app/resourceorder/vo/AppResourceOrderRespVO.java
View file @
863f273c
...
@@ -70,7 +70,12 @@ public class AppResourceOrderRespVO {
...
@@ -70,7 +70,12 @@ 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
;
...
...
computility-module-compute/computility-module-compute-biz/src/main/java/com/luhu/computility/module/compute/service/resourceorder/ResourceOrderServiceImpl.java
View file @
863f273c
...
@@ -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
()
+
"天"
);
// 设置分类名称
// 设置分类名称
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment