记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
8e63c40a
Commit
8e63c40a
authored
Jan 11, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+API:店铺管理;
parent
3c791b0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
3 deletions
+37
-3
GoblinStoreMgtController.java
...ce/goblin/controller/manage/GoblinStoreMgtController.java
+37
-3
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/manage/GoblinStoreMgtController.java
View file @
8e63c40a
...
...
@@ -6,6 +6,7 @@ import com.liquidnet.commons.lang.util.CurrentUtil;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.goblin.dto.manage.vo.GoblinStoreMgtInfoVo
;
import
com.liquidnet.service.goblin.dto.manage.vo.GoblinStoreMgtThumbVo
;
import
com.liquidnet.service.goblin.dto.vo.GoblinStoreCertificationVo
;
import
com.liquidnet.service.goblin.dto.vo.GoblinStoreInfoVo
;
import
com.liquidnet.service.goblin.util.GoblinRedisUtils
;
import
com.liquidnet.service.goblin.util.ObjectUtil
;
...
...
@@ -18,8 +19,11 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.Size
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
@@ -48,13 +52,43 @@ public class GoblinStoreMgtController {
}
@ApiOperationSupport
(
order
=
2
)
@ApiOperation
(
value
=
"店铺管理:店铺
详情
"
)
@ApiOperation
(
value
=
"店铺管理:店铺
信息
"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"店铺ID"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"店铺ID
[64]
"
),
})
@GetMapping
(
value
=
{
"info"
})
public
ResponseDto
<
GoblinStoreMgtInfoVo
>
info
(
String
storeId
)
{
public
ResponseDto
<
GoblinStoreMgtInfoVo
>
info
(
@NotBlank
(
message
=
"店铺ID不能为空"
)
@RequestParam
String
storeId
)
{
return
ResponseDto
.
success
(
null
);
}
@ApiOperationSupport
(
order
=
3
)
@ApiOperation
(
value
=
"店铺管理:店铺信息:修改"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"店铺ID[64]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeName"
,
value
=
"店铺名称[128]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"logoPic"
,
value
=
"店铺LOGO[256]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"backgroundPic"
,
value
=
"店铺背景图[256]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"introduce"
,
value
=
"店铺介绍[500]"
),
})
@GetMapping
(
value
=
{
"info/edit"
})
public
ResponseDto
<
GoblinStoreMgtInfoVo
>
infoEdit
(
@NotBlank
(
message
=
"店铺名称不能为空"
)
@Size
(
max
=
128
)
@RequestParam
String
storeName
,
@NotBlank
(
message
=
"店铺LOGO不能为空"
)
@Size
(
max
=
256
)
@RequestParam
String
logoPic
,
@NotBlank
(
message
=
"店铺背景图不能为空"
)
@Size
(
max
=
256
)
@RequestParam
String
backgroundPic
,
@NotBlank
(
message
=
"店铺介绍不能为空"
)
@Size
(
max
=
500
)
@RequestParam
String
introduce
,
@NotBlank
(
message
=
"店铺ID不能为空"
)
@Size
(
max
=
64
)
@RequestParam
String
storeId
)
{
return
ResponseDto
.
success
(
null
);
}
@ApiOperationSupport
(
order
=
4
)
@ApiOperation
(
value
=
"店铺管理:认证信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"店铺ID[64]"
),
})
@GetMapping
(
value
=
{
"info/edit"
})
public
ResponseDto
<
GoblinStoreCertificationVo
>
certInfo
(
@NotBlank
(
message
=
"店铺ID不能为空"
)
@Size
(
max
=
64
)
@RequestParam
String
storeId
)
{
return
ResponseDto
.
success
();
}
}
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