记得上下班打卡 | 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
f1762b54
Commit
f1762b54
authored
Dec 27, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~API:店铺认证状态;
parent
0de9bd95
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
4 deletions
+38
-4
GoblinStoreCertificationVo.java
...vice/goblin/dto/manage/vo/GoblinStoreCertificationVo.java
+24
-0
GoblinStoreMgtCertificationController.java
...troller/manage/GoblinStoreMgtCertificationController.java
+12
-2
GoblinStoreMgtCertificationServiceImpl.java
...e/impl/manage/GoblinStoreMgtCertificationServiceImpl.java
+2
-2
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/vo/GoblinStoreCertificationVo.java
0 → 100644
View file @
f1762b54
package
com
.
liquidnet
.
service
.
goblin
.
dto
.
manage
.
vo
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@ApiModel
(
value
=
"GoblinStoreCertificationVo"
,
description
=
"店铺认证详情"
)
@Data
public
class
GoblinStoreCertificationVo
implements
java
.
io
.
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
5046460327295113971L
;
@ApiModelProperty
(
position
=
11
,
value
=
"店铺认证状态[1-店铺审核中|2-审核不通过|3-审核通过]"
)
private
String
certStatus
;
@ApiModelProperty
(
position
=
12
,
value
=
"拒绝原因[256]"
)
private
String
reason
;
private
static
final
GoblinStoreCertificationVo
obj
=
new
GoblinStoreCertificationVo
();
public
static
GoblinStoreCertificationVo
getNew
()
{
try
{
return
(
GoblinStoreCertificationVo
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
GoblinStoreCertificationVo
();
}
}
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/manage/GoblinStoreMgtCertificationController.java
View file @
f1762b54
...
@@ -6,6 +6,7 @@ import com.liquidnet.commons.lang.util.JsonUtils;
...
@@ -6,6 +6,7 @@ import com.liquidnet.commons.lang.util.JsonUtils;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCertificationParam
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCertificationParam
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCompleteParam
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCompleteParam
;
import
com.liquidnet.service.goblin.dto.manage.vo.GoblinStoreCertificationVo
;
import
com.liquidnet.service.goblin.service.manage.GoblinStoreMgtCertificationService
;
import
com.liquidnet.service.goblin.service.manage.GoblinStoreMgtCertificationService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
...
@@ -33,8 +34,17 @@ public class GoblinStoreMgtCertificationController {
...
@@ -33,8 +34,17 @@ public class GoblinStoreMgtCertificationController {
@ApiOperationSupport
(
order
=
2
)
@ApiOperationSupport
(
order
=
2
)
@ApiOperation
(
value
=
"认证状态"
,
notes
=
"查取默认店铺认证状态,响应说明[data:1-店铺审核中|2-审核不通过|3-审核通过]"
)
@ApiOperation
(
value
=
"认证状态"
,
notes
=
"查取默认店铺认证状态,响应说明[data:1-店铺审核中|2-审核不通过|3-审核通过]"
)
@PostMapping
(
"status"
)
@PostMapping
(
"status"
)
public
ResponseDto
<
String
>
certificationStatus
()
{
public
ResponseDto
<
GoblinStoreCertificationVo
>
certificationStatus
()
{
return
ResponseDto
.
success
(
RandomStringUtils
.
random
(
1
,
"123"
));
GoblinStoreCertificationVo
storeCertificationVo
=
GoblinStoreCertificationVo
.
getNew
();
// TODO: 2021/12/27 zhanggb
String
status
=
RandomStringUtils
.
random
(
1
,
"123"
);
storeCertificationVo
.
setCertStatus
(
status
);
if
(
status
.
equals
(
"2"
))
{
storeCertificationVo
.
setReason
(
"这是一个原因这是一个原因这是一个原因这是一个原因"
);
}
return
ResponseDto
.
success
();
}
}
@ApiOperationSupport
(
order
=
2
)
@ApiOperationSupport
(
order
=
2
)
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/manage/GoblinStoreMgtCertificationServiceImpl.java
View file @
f1762b54
...
@@ -14,11 +14,11 @@ public class GoblinStoreMgtCertificationServiceImpl implements GoblinStoreMgtCer
...
@@ -14,11 +14,11 @@ public class GoblinStoreMgtCertificationServiceImpl implements GoblinStoreMgtCer
@Override
@Override
public
void
certificationInformationProcessing
(
GoblinStoreMgtCertificationParam
param
)
{
public
void
certificationInformationProcessing
(
GoblinStoreMgtCertificationParam
param
)
{
// TODO: 2021/12/27 zhanggb
}
}
@Override
@Override
public
void
certificationCompleteProcessing
(
GoblinStoreMgtCompleteParam
param
)
{
public
void
certificationCompleteProcessing
(
GoblinStoreMgtCompleteParam
param
)
{
// TODO: 2021/12/27 zhanggb
}
}
}
}
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