Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
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
项目统一框架
amos-boot-biz
Commits
bbfdfba4
Commit
bbfdfba4
authored
Aug 29, 2022
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.测试用注销接口增加token校验-tzs
parent
562ff0b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
RegUnitInfoController.java
.../module/tzs/flc/biz/controller/RegUnitInfoController.java
+1
-1
RegUnitInfoServiceImpl.java
...dule/tzs/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+0
-2
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/controller/RegUnitInfoController.java
View file @
bbfdfba4
...
@@ -165,7 +165,7 @@ public class RegUnitInfoController extends BaseController {
...
@@ -165,7 +165,7 @@ public class RegUnitInfoController extends BaseController {
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{unitCode}/logOut"
)
@DeleteMapping
(
value
=
"/{unitCode}/logOut"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"企业注销"
,
notes
=
"企业注销"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"企业注销"
,
notes
=
"企业注销"
)
public
ResponseModel
unitLogOut
(
@PathVariable
String
unitCode
)
{
public
ResponseModel
unitLogOut
(
@PathVariable
String
unitCode
)
{
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
bbfdfba4
...
@@ -39,7 +39,6 @@ import com.yeejoin.amos.boot.module.tzs.flc.api.dto.RegUnitIcDto;
...
@@ -39,7 +39,6 @@ import com.yeejoin.amos.boot.module.tzs.flc.api.dto.RegUnitIcDto;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.RegUnitInfoDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.RegUnitInfoDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.RegUnitIc
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.RegUnitIc
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.RegUnitInfo
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.RegUnitInfo
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.enums.UnitReviewStateEnum
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.mapper.RegUnitInfoMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.mapper.RegUnitInfoMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.service.IRegUnitInfoService
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.service.IRegUnitInfoService
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
...
@@ -254,7 +253,6 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -254,7 +253,6 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
return
Boolean
.
FALSE
;
return
Boolean
.
FALSE
;
}
}
try
{
try
{
tzsAuthServiceImpl
.
setRequestContext
();
// 1.删除已经创建的企业信息
// 1.删除已经创建的企业信息
if
(
StringUtils
.
isNotEmpty
(
regUnitInfo
.
getAmosCompanySeq
()))
{
if
(
StringUtils
.
isNotEmpty
(
regUnitInfo
.
getAmosCompanySeq
()))
{
CompanyModel
companyModel
=
Privilege
.
companyClient
.
seleteOne
(
Long
.
parseLong
(
regUnitInfo
.
getAmosCompanySeq
())).
getResult
();
CompanyModel
companyModel
=
Privilege
.
companyClient
.
seleteOne
(
Long
.
parseLong
(
regUnitInfo
.
getAmosCompanySeq
())).
getResult
();
...
...
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