Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
ms-data-circulation-portal-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
116de3eb
authored
2025-02-12 14:24:01 +0800
by
肖初晴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【DAOP-1.0】企业认证
【功能点】测试问题处理
1 parent
e5e6f8eb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
src/main/java/com/csbr/qingcloud/portal/feign/PersonelFeign.java
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/feign/PersonelFeign.java
View file @
116de3e
...
...
@@ -5,6 +5,7 @@ import com.csbr.cloud.common.response.CommonRes;
import
com.csbr.qingcloud.portal.domain.vo.TenantRQVO
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.http.MediaType
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
...
...
@@ -26,4 +27,7 @@ public interface PersonelFeign {
@GetMapping
(
value
=
"/tenant/get-all-tenant-guid-name-map"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
,
consumes
=
MediaType
.
APPLICATION_JSON_VALUE
)
CommonRes
<
Map
<
String
,
String
>>
getAllTenantGuidNameMap
();
@PostMapping
(
value
=
"/tenant/check"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
,
consumes
=
MediaType
.
APPLICATION_JSON_VALUE
)
CommonRes
<
Boolean
>
checkTenant
(
@Validated
@RequestBody
TenantRQVO
vo
);
}
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
View file @
116de3e
...
...
@@ -459,6 +459,9 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
if
(
CollectionUtils
.
isNotEmpty
(
userList
)){
throw
new
CsbrUserException
(
UserError
.
VALIDATE_CODE_ERROR
,
"账号管理人手机号已存在!"
);
}
//检查会员名称等数据
TenantRQVO
tenant
=
csbrBeanUtil
.
convert
(
vo
,
TenantRQVO
.
class
);
personelFeign
.
checkTenant
(
tenant
);
return
true
;
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment