记得上下班打卡 | 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
0de9bd95
Commit
0de9bd95
authored
Dec 27, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~pom;
+API:店铺认证相关;
parent
a32a1fe8
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
365 additions
and
42 deletions
+365
-42
GoblinStoreMgtCertificationParam.java
...e/goblin/dto/manage/GoblinStoreMgtCertificationParam.java
+68
-0
GoblinStoreMgtCompleteParam.java
...ervice/goblin/dto/manage/GoblinStoreMgtCompleteParam.java
+19
-0
GoblinStoreMgtInfoVo.java
...et/service/goblin/dto/manage/vo/GoblinStoreMgtInfoVo.java
+32
-0
GoblinStoreMgtThumbVo.java
...t/service/goblin/dto/manage/vo/GoblinStoreMgtThumbVo.java
+28
-0
GoblinStoreMgtCertificationService.java
...in/service/manage/GoblinStoreMgtCertificationService.java
+20
-0
GoblinStoreMgtService.java
.../service/goblin/service/manage/GoblinStoreMgtService.java
+1
-1
GoblinStoreCertification.java
...idnet/service/goblin/entity/GoblinStoreCertification.java
+22
-22
db_ln_goblin_initialdata.sql
...net-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
+8
-8
pom.xml
...dnet-service-goblin/liquidnet-service-goblin-impl/pom.xml
+13
-0
GoblinStoreManageController.java
...goblin/controller/manage/GoblinStoreManageController.java
+0
-4
GoblinStoreMgtCertificationController.java
...troller/manage/GoblinStoreMgtCertificationController.java
+63
-0
GoblinStoreMgtController.java
...ce/goblin/controller/manage/GoblinStoreMgtController.java
+46
-0
GoblinStoreMgtCertificationServiceImpl.java
...e/impl/manage/GoblinStoreMgtCertificationServiceImpl.java
+24
-0
GoblinStoreMgtServiceImpl.java
...goblin/service/impl/manage/GoblinStoreMgtServiceImpl.java
+8
-0
GoblinStoreManageServiceImpl.java
...e/goblin/service/manage/GoblinStoreManageServiceImpl.java
+0
-7
TestGoblin.java
...quidnet-service-goblin-impl/src/test/java/TestGoblin.java
+13
-0
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtCertificationParam.java
0 → 100644
View file @
0de9bd95
package
com
.
liquidnet
.
service
.
goblin
.
dto
.
manage
;
import
com.liquidnet.commons.lang.constant.LnsRegex
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.Pattern
;
@ApiModel
(
value
=
"GoblinStoreMgtCertificationParam"
,
description
=
"店铺认证:认证资料入参"
)
@Data
public
class
GoblinStoreMgtCertificationParam
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
6674618707269625280L
;
@ApiModelProperty
(
position
=
11
,
value
=
"认证类型[1-企业/公司|2-个体工商户]"
,
allowableValues
=
"1,2"
,
example
=
"2"
)
@NotBlank
(
message
=
"认证类型不能为空"
)
@Pattern
(
regexp
=
"\\b(1|2)\\b"
,
message
=
"认证类型无效"
)
private
String
certType
;
@ApiModelProperty
(
position
=
12
,
value
=
"证件类型[1-二代居民身份证]"
,
allowableValues
=
"1"
,
example
=
"1"
)
@Pattern
(
regexp
=
"\\b(1)\\b"
,
message
=
"证件类型无效"
)
private
String
personCertType
;
@ApiModelProperty
(
position
=
13
,
value
=
"证件姓名[32]"
,
example
=
"张三"
)
private
String
personName
;
@ApiModelProperty
(
position
=
14
,
value
=
"证件号码[32]"
,
example
=
"111111111111111111"
)
private
String
personCertCode
;
@ApiModelProperty
(
position
=
15
,
value
=
"证件有效期[YYYY-MM-DD]"
,
example
=
"2022-12-31"
)
@Pattern
(
regexp
=
LnsRegex
.
Valid
.
DATETIME_YMD
,
message
=
"证件有效期格式有误"
)
private
String
personCertValidity
;
@ApiModelProperty
(
position
=
16
,
value
=
"证件是否长期有效[0-否|1-是]"
,
example
=
"0"
)
@NotBlank
(
message
=
"证件是否长期有效不能为空"
)
@Pattern
(
regexp
=
"\\b(0|1)\\b"
,
message
=
"证件是否长期有效参数无效"
)
private
String
personCertLasting
;
@ApiModelProperty
(
position
=
17
,
value
=
"证件正面照[256]"
)
private
String
personCertFpic
;
@ApiModelProperty
(
position
=
18
,
value
=
"证件背面照[256]"
)
private
String
personCertBpic
;
@ApiModelProperty
(
position
=
19
,
value
=
"证件手持照[256]"
)
private
String
personCertSpic
;
@ApiModelProperty
(
position
=
19
,
value
=
"省ID[20]"
,
example
=
"110000"
)
private
String
provinceId
;
@ApiModelProperty
(
position
=
20
,
value
=
"省名称[32]"
,
example
=
"北京市"
)
private
String
provinceName
;
@ApiModelProperty
(
position
=
21
,
value
=
"市ID[20]"
,
example
=
"110100"
)
private
String
cityId
;
@ApiModelProperty
(
position
=
22
,
value
=
"市名称[32]"
,
example
=
"北京"
)
private
String
cityName
;
@ApiModelProperty
(
position
=
23
,
value
=
"县ID[20]"
,
example
=
"110105"
)
private
String
countyId
;
@ApiModelProperty
(
position
=
24
,
value
=
"县名称[32]"
,
example
=
"朝阳区"
)
private
String
countyName
;
@ApiModelProperty
(
position
=
25
,
value
=
"详细地址[128]"
,
example
=
"XXXXX"
)
private
String
busAddress
;
@ApiModelProperty
(
position
=
26
,
value
=
"商户名称[64]"
,
example
=
"北京XXX服装贸易有限公司"
)
private
String
busName
;
@ApiModelProperty
(
position
=
27
,
value
=
"统一社会信用代码[64]"
,
example
=
"90000000000000005"
)
private
String
busCertCode
;
@ApiModelProperty
(
position
=
28
,
value
=
"营业执照有效期[YYYY-MM-DD]"
,
example
=
"2022-12-31"
)
@Pattern
(
regexp
=
LnsRegex
.
Valid
.
DATETIME_YMD
,
message
=
"营业执照有效期格式有误"
)
private
String
busCertValidity
;
@ApiModelProperty
(
position
=
29
,
value
=
"证件是否长期有效[0-否|1-是]"
,
example
=
"0"
)
@NotBlank
(
message
=
"证件是否长期有效不能为空"
)
@Pattern
(
regexp
=
"\\b(0|1)\\b"
,
message
=
"证件是否长期有效参数无效"
)
private
String
busCertLasting
;
@ApiModelProperty
(
position
=
30
,
value
=
"营业执照照片[256]"
)
private
String
busCertPic
;
}
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtCompleteParam.java
0 → 100644
View file @
0de9bd95
package
com
.
liquidnet
.
service
.
goblin
.
dto
.
manage
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@ApiModel
(
value
=
"GoblinStoreMgtCompleteParam"
,
description
=
"店铺认证:认证资料入参"
)
@Data
public
class
GoblinStoreMgtCompleteParam
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
-
5612313562282544613L
;
@ApiModelProperty
(
position
=
11
,
value
=
"店铺名称[128]"
)
private
String
storeName
;
@ApiModelProperty
(
position
=
12
,
value
=
"店铺LOGO[256]"
)
private
String
logoPic
;
@ApiModelProperty
(
position
=
13
,
value
=
"店铺背景图[256]"
)
private
String
backgroundPic
;
@ApiModelProperty
(
position
=
14
,
value
=
"店铺介绍[500]"
)
private
String
introduce
;
}
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/vo/GoblinStoreMgtInfoVo.java
0 → 100644
View file @
0de9bd95
package
com
.
liquidnet
.
service
.
goblin
.
dto
.
manage
.
vo
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@ApiModel
(
value
=
"GoblinStoreMgtInfoVo"
,
description
=
"店铺信息详情"
)
@Data
@JsonIgnoreProperties
(
ignoreUnknown
=
true
)
public
class
GoblinStoreMgtInfoVo
implements
java
.
io
.
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
6109909470490181810L
;
// @ApiModelProperty(position = 10, value = "店铺ID[64]")
// private String storeId;
@ApiModelProperty
(
position
=
11
,
value
=
"店铺名称[128]"
)
private
String
storeName
;
@ApiModelProperty
(
position
=
12
,
value
=
"店铺LOGO[256]"
)
private
String
logoPic
;
@ApiModelProperty
(
position
=
13
,
value
=
"店铺背景图[256]"
)
private
String
backgroundPic
;
@ApiModelProperty
(
position
=
14
,
value
=
"店铺介绍[500]"
)
private
String
introduce
;
private
static
final
GoblinStoreMgtInfoVo
obj
=
new
GoblinStoreMgtInfoVo
();
public
static
GoblinStoreMgtInfoVo
getNew
()
{
try
{
return
(
GoblinStoreMgtInfoVo
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
GoblinStoreMgtInfoVo
();
}
}
}
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/vo/GoblinStoreMgtThumbVo.java
0 → 100644
View file @
0de9bd95
package
com
.
liquidnet
.
service
.
goblin
.
dto
.
manage
.
vo
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@ApiModel
(
value
=
"GoblinStoreMgtThumbVo"
,
description
=
"店铺简易信息列表"
)
@Data
@JsonIgnoreProperties
(
ignoreUnknown
=
true
)
public
class
GoblinStoreMgtThumbVo
implements
java
.
io
.
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
-
7808265282707179941L
;
@ApiModelProperty
(
position
=
10
,
value
=
"店铺ID[64]"
)
private
String
storeId
;
@ApiModelProperty
(
position
=
11
,
value
=
"店铺名称[128]"
)
private
String
storeName
;
@ApiModelProperty
(
position
=
12
,
value
=
"店铺LOGO[256]"
)
private
String
logoPic
;
private
static
final
GoblinStoreMgtThumbVo
obj
=
new
GoblinStoreMgtThumbVo
();
public
static
GoblinStoreMgtThumbVo
getNew
()
{
try
{
return
(
GoblinStoreMgtThumbVo
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
GoblinStoreMgtThumbVo
();
}
}
}
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/service/manage/GoblinStoreMgtCertificationService.java
0 → 100644
View file @
0de9bd95
package
com
.
liquidnet
.
service
.
goblin
.
service
.
manage
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCertificationParam
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCompleteParam
;
public
interface
GoblinStoreMgtCertificationService
{
/**
* 店铺认证:认证资料保存
*
* @param param GoblinStoreMgtCertificationParam
*/
void
certificationInformationProcessing
(
GoblinStoreMgtCertificationParam
param
);
/**
* 店铺认证:完善信息保存
*
* @param param GoblinStoreMgtCompleteParam
*/
void
certificationCompleteProcessing
(
GoblinStoreMgtCompleteParam
param
);
}
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/service/manage/GoblinStoreM
anage
Service.java
→
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/service/manage/GoblinStoreM
gt
Service.java
View file @
0de9bd95
package
com
.
liquidnet
.
service
.
goblin
.
service
.
manage
;
package
com
.
liquidnet
.
service
.
goblin
.
service
.
manage
;
public
interface
GoblinStoreM
anage
Service
{
public
interface
GoblinStoreM
gt
Service
{
}
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinStoreCertification.java
View file @
0de9bd95
...
@@ -40,34 +40,34 @@ public class GoblinStoreCertification implements Serializable {
...
@@ -40,34 +40,34 @@ public class GoblinStoreCertification implements Serializable {
private
String
personName
;
private
String
personName
;
/**
/**
* 证件
正面照
* 证件
号
*/
*/
private
String
personCert
Fpic
;
private
String
personCert
Code
;
/**
/**
* 证件
背面照
* 证件
有效期
*/
*/
private
String
personCertBpic
;
private
LocalDateTime
personCertValidity
;
/**
/**
* 证件
背面照
* 证件
是否长期有效[0-否|1-是]
*/
*/
private
String
personCert
Spic
;
private
String
personCert
Lasting
;
/**
/**
* 证件
号
* 证件
正面照
*/
*/
private
String
personCert
Code
;
private
String
personCert
Fpic
;
/**
/**
* 证件
有效期
* 证件
背面照
*/
*/
private
LocalDateTime
personCertValidity
;
private
String
personCertBpic
;
/**
/**
* 证件
是否长期有效[0-否|1-是]
* 证件
背面照
*/
*/
private
String
personCert
Lasting
;
private
String
personCert
Spic
;
/**
/**
* 删除标记[0-未删除|1-删除]
* 删除标记[0-未删除|1-删除]
...
@@ -114,16 +114,6 @@ public class GoblinStoreCertification implements Serializable {
...
@@ -114,16 +114,6 @@ public class GoblinStoreCertification implements Serializable {
*/
*/
private
String
busName
;
private
String
busName
;
/**
* 营业执照照片
*/
private
String
busCertPic
;
/**
* 资质证书
*/
private
String
busQualityPic
;
/**
/**
* 统一社会信用代码
* 统一社会信用代码
*/
*/
...
@@ -139,6 +129,16 @@ public class GoblinStoreCertification implements Serializable {
...
@@ -139,6 +129,16 @@ public class GoblinStoreCertification implements Serializable {
*/
*/
private
String
busCertLasting
;
private
String
busCertLasting
;
/**
* 营业执照照片
*/
private
String
busCertPic
;
/**
* 资质证书
*/
private
String
busQualityPic
;
private
String
createdBy
;
private
String
createdBy
;
private
LocalDateTime
createdAt
;
private
LocalDateTime
createdAt
;
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
View file @
0de9bd95
...
@@ -110,26 +110,26 @@ create table goblin_store_certification
...
@@ -110,26 +110,26 @@ create table goblin_store_certification
store_id
varchar
(
64
)
not
null
comment
'店铺id'
,
store_id
varchar
(
64
)
not
null
comment
'店铺id'
,
person_cert_type
char
default
'0'
comment
'证件类型[1-二代居民身份证]'
,
person_cert_type
char
default
'0'
comment
'证件类型[1-二代居民身份证]'
,
person_name
varchar
(
32
)
null
comment
'证件姓名'
,
person_name
varchar
(
32
)
null
comment
'证件姓名'
,
person_cert_fpic
varchar
(
256
)
null
comment
'证件正面照'
,
person_cert_bpic
varchar
(
256
)
null
comment
'证件背面照'
,
person_cert_spic
varchar
(
256
)
null
comment
'证件背面照'
,
person_cert_code
varchar
(
32
)
null
comment
'证件号'
,
person_cert_code
varchar
(
32
)
null
comment
'证件号'
,
person_cert_validity
datetime
null
comment
'证件有效期'
,
person_cert_validity
datetime
null
comment
'证件有效期'
,
person_cert_lasting
char
null
comment
'证件是否长期有效[0-否|1-是]'
,
person_cert_lasting
char
null
comment
'证件是否长期有效[0-否|1-是]'
,
person_cert_fpic
varchar
(
256
)
null
comment
'证件正面照'
,
person_cert_bpic
varchar
(
256
)
null
comment
'证件背面照'
,
person_cert_spic
varchar
(
256
)
null
comment
'证件手持照'
,
del_flg
char
default
'0'
comment
'删除标记[0-未删除|1-删除]'
,
del_flg
char
default
'0'
comment
'删除标记[0-未删除|1-删除]'
,
province_id
varchar
(
32
)
null
comment
'省id'
,
province_id
varchar
(
20
)
null
comment
'省id'
,
province_name
varchar
(
32
)
null
comment
'省名称'
,
province_name
varchar
(
32
)
null
comment
'省名称'
,
city_id
varchar
(
32
)
null
comment
'市id'
,
city_id
varchar
(
20
)
null
comment
'市id'
,
city_name
varchar
(
32
)
null
comment
'市名称'
,
city_name
varchar
(
32
)
null
comment
'市名称'
,
county_id
varchar
(
32
)
null
comment
'县id'
,
county_id
varchar
(
20
)
null
comment
'县id'
,
county_name
varchar
(
32
)
null
comment
'县名称'
,
county_name
varchar
(
32
)
null
comment
'县名称'
,
bus_address
varchar
(
128
)
null
comment
'详细地址'
,
bus_address
varchar
(
128
)
null
comment
'详细地址'
,
bus_name
varchar
(
64
)
null
comment
'商户名称'
,
bus_name
varchar
(
64
)
null
comment
'商户名称'
,
bus_cert_pic
varchar
(
256
)
null
comment
'营业执照照片'
,
bus_quality_pic
varchar
(
256
)
null
comment
'资质证书'
,
bus_cert_code
varchar
(
64
)
null
comment
'统一社会信用代码'
,
bus_cert_code
varchar
(
64
)
null
comment
'统一社会信用代码'
,
bus_cert_validity
datetime
null
comment
'营业执照有效期'
,
bus_cert_validity
datetime
null
comment
'营业执照有效期'
,
bus_cert_lasting
char
default
'0'
comment
'证件是否长期有效[0-否|1-是]'
,
bus_cert_lasting
char
default
'0'
comment
'证件是否长期有效[0-否|1-是]'
,
bus_cert_pic
varchar
(
256
)
null
comment
'营业执照照片'
,
bus_quality_pic
varchar
(
256
)
null
comment
'资质证书'
,
created_by
varchar
(
64
)
not
null
,
created_by
varchar
(
64
)
not
null
,
created_at
datetime
not
null
,
created_at
datetime
not
null
,
updated_by
varchar
(
64
)
null
,
updated_by
varchar
(
64
)
null
,
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/pom.xml
View file @
0de9bd95
...
@@ -26,6 +26,11 @@
...
@@ -26,6 +26,11 @@
<artifactId>
liquidnet-common-web
</artifactId>
<artifactId>
liquidnet-common-web
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-mongodb
</artifactId>
</dependency>
<dependency>
<dependency>
<groupId>
com.liquidnet
</groupId>
<groupId>
com.liquidnet
</groupId>
<artifactId>
liquidnet-service-goblin-api
</artifactId>
<artifactId>
liquidnet-service-goblin-api
</artifactId>
...
@@ -34,4 +39,12 @@
...
@@ -34,4 +39,12 @@
</dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
</project>
</project>
\ No newline at end of file
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/manage/GoblinStoreManageController.java
deleted
100644 → 0
View file @
a32a1fe8
package
com
.
liquidnet
.
service
.
goblin
.
controller
.
manage
;
public
class
GoblinStoreManageController
{
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/manage/GoblinStoreMgtCertificationController.java
0 → 100644
View file @
0de9bd95
package
com
.
liquidnet
.
service
.
goblin
.
controller
.
manage
;
import
com.github.xiaoymin.knife4j.annotations.ApiOperationSupport
;
import
com.github.xiaoymin.knife4j.annotations.ApiSupport
;
import
com.liquidnet.commons.lang.util.JsonUtils
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCertificationParam
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCompleteParam
;
import
com.liquidnet.service.goblin.service.manage.GoblinStoreMgtCertificationService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.RandomStringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.validation.Valid
;
@ApiSupport
(
order
=
140101
)
@Api
(
tags
=
"店铺认证"
)
@Slf4j
@Validated
@RestController
@RequestMapping
(
"store/mgt/cert"
)
public
class
GoblinStoreMgtCertificationController
{
@Autowired
GoblinStoreMgtCertificationService
goblinStoreMgtCertificationService
;
@ApiOperationSupport
(
order
=
2
)
@ApiOperation
(
value
=
"认证状态"
,
notes
=
"查取默认店铺认证状态,响应说明[data:1-店铺审核中|2-审核不通过|3-审核通过]"
)
@PostMapping
(
"status"
)
public
ResponseDto
<
String
>
certificationStatus
()
{
return
ResponseDto
.
success
(
RandomStringUtils
.
random
(
1
,
"123"
));
}
@ApiOperationSupport
(
order
=
2
)
@ApiOperation
(
value
=
"店铺认证第一步:认证资料"
)
@PostMapping
(
"fstep"
)
public
ResponseDto
<
Object
>
certificationFirstStep
(
@Valid
@RequestBody
GoblinStoreMgtCertificationParam
certificationParam
)
{
if
(
log
.
isDebugEnabled
())
{
log
.
debug
(
"店铺认证[GoblinStoreMgtCertificationParam:{}]"
,
JsonUtils
.
toJson
(
certificationParam
));
}
goblinStoreMgtCertificationService
.
certificationInformationProcessing
(
certificationParam
);
return
ResponseDto
.
success
();
}
@ApiOperationSupport
(
order
=
3
)
@ApiOperation
(
value
=
"店铺认证第二步:完善信息"
)
@PostMapping
(
"sstep"
)
public
ResponseDto
<
Object
>
certificationSecondStep
(
@Valid
@RequestBody
GoblinStoreMgtCompleteParam
completeParam
)
{
if
(
log
.
isDebugEnabled
())
{
log
.
debug
(
"店铺认证[GoblinStoreMgtCompleteParam:{}]"
,
JsonUtils
.
toJson
(
completeParam
));
}
goblinStoreMgtCertificationService
.
certificationCompleteProcessing
(
completeParam
);
return
ResponseDto
.
success
();
}
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/manage/GoblinStoreMgtController.java
0 → 100644
View file @
0de9bd95
package
com
.
liquidnet
.
service
.
goblin
.
controller
.
manage
;
import
com.github.xiaoymin.knife4j.annotations.ApiOperationSupport
;
import
com.github.xiaoymin.knife4j.annotations.ApiSupport
;
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
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
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.RestController
;
import
java.util.List
;
@ApiSupport
(
order
=
140100
)
@Api
(
tags
=
"店铺管理"
)
@Slf4j
@Validated
@RestController
@RequestMapping
(
"store/mgt"
)
public
class
GoblinStoreMgtController
{
@ApiOperationSupport
(
order
=
1
)
@ApiOperation
(
value
=
"店铺简易信息列表"
)
@GetMapping
(
value
=
{
"list"
})
public
ResponseDto
<
List
<
GoblinStoreMgtThumbVo
>>
thumbList
()
{
return
ResponseDto
.
success
(
null
);
}
@ApiOperationSupport
(
order
=
2
)
@ApiOperation
(
value
=
"店铺管理:店铺详情"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"店铺ID"
),
})
@GetMapping
(
value
=
{
"info"
})
public
ResponseDto
<
GoblinStoreMgtInfoVo
>
info
(
String
storeId
)
{
return
ResponseDto
.
success
(
null
);
}
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/manage/GoblinStoreMgtCertificationServiceImpl.java
0 → 100644
View file @
0de9bd95
package
com
.
liquidnet
.
service
.
goblin
.
service
.
impl
.
manage
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCertificationParam
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCompleteParam
;
import
com.liquidnet.service.goblin.service.manage.GoblinStoreMgtCertificationService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.data.mongodb.core.MongoTemplate
;
import
org.springframework.stereotype.Service
;
@Service
public
class
GoblinStoreMgtCertificationServiceImpl
implements
GoblinStoreMgtCertificationService
{
@Autowired
private
MongoTemplate
mongoTemplate
;
@Override
public
void
certificationInformationProcessing
(
GoblinStoreMgtCertificationParam
param
)
{
}
@Override
public
void
certificationCompleteProcessing
(
GoblinStoreMgtCompleteParam
param
)
{
}
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/manage/GoblinStoreMgtServiceImpl.java
0 → 100644
View file @
0de9bd95
package
com
.
liquidnet
.
service
.
goblin
.
service
.
impl
.
manage
;
import
com.liquidnet.service.goblin.service.manage.GoblinStoreMgtService
;
import
org.springframework.stereotype.Service
;
@Service
public
class
GoblinStoreMgtServiceImpl
implements
GoblinStoreMgtService
{
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/manage/GoblinStoreManageServiceImpl.java
deleted
100644 → 0
View file @
a32a1fe8
package
com
.
liquidnet
.
service
.
goblin
.
service
.
manage
;
import
org.springframework.stereotype.Service
;
@Service
public
class
GoblinStoreManageServiceImpl
implements
GoblinStoreManageService
{
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/test/java/TestGoblin.java
0 → 100644
View file @
0de9bd95
import
org.junit.Test
;
public
class
TestGoblin
{
public
static
void
main
(
String
[]
args
)
{
}
@Test
public
void
testTmp
()
{
}
}
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