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
dec340ea
Commit
dec340ea
authored
Jun 02, 2023
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aop修改
parent
6bb6a4b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
ControllerAop.java
...a/com/yeejoin/amos/boot/biz/common/aop/ControllerAop.java
+2
-7
RegUnitInfoController.java
.../module/tzs/flc/biz/controller/RegUnitInfoController.java
+1
-1
No files found.
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/aop/ControllerAop.java
View file @
dec340ea
...
@@ -84,15 +84,10 @@ public class ControllerAop {
...
@@ -84,15 +84,10 @@ public class ControllerAop {
String
[]
url
=
new
String
[]
{
"/api/user/save/curCompany"
,
"/jcs/command/lookHtmlText"
,
String
[]
url
=
new
String
[]
{
"/api/user/save/curCompany"
,
"/jcs/command/lookHtmlText"
,
"/jcs/common/duty-person/findByDutyAreaId"
,
"/tzs/wechatBack"
,
"/tzs/elevator/getElevatorInfo"
,
"/jcs/common/duty-person/findByDutyAreaId"
,
"/tzs/wechatBack"
,
"/tzs/elevator/getElevatorInfo"
,
"/openapi/bizToken/applyToken"
"/openapi/bizToken/applyToken"
,
"/tzs/flc-unit-info/region/tree"
,
"/tzs/flc-unit-info/region/tree"
,
"/tzs/reg-unit-info/management-unit/tree"
,
"/tzs/flc-unit-info"
+
// ,"/tzs/reg-unit-info/management-unit/tree",
"/region/tree"
,
"/tzs/reg-unit-info/unit-type/list"
//"/tzs/reg-unit-info/unit-type/list"
+
"/tzs/reg-unit-info/management-unit/tree"
,
"/tzs/flc-unit-info/region/tree"
,
"/tzs/reg-unit-info/unit-type/list"
,
"/tzs/reg-unit-info/"
+
"^[A-Za-z0-9]+$"
+
"/check"
,
"/tzs/flc-unit-info/hasExistPhone"
,
"/tzs/flc-unit-info/sendTelCode"
,
"/tzs/reg-unit-info/"
+
"^[A-Za-z0-9]+$"
+
"/check"
,
"/tzs/flc-unit-info/hasExistPhone"
,
"/tzs/flc-unit-info/sendTelCode"
};
};
// if (request.getRequestURI().contains("/tzs/reg-unit-info") || request.getRequestURI().contains("/tzs/flc-unit-info")) {
// return;
// }
// 获取请求路径
// 获取请求路径
for
(
String
uri
:
url
)
{
for
(
String
uri
:
url
)
{
if
(
request
.
getRequestURI
().
indexOf
(
uri
)
!=
-
1
)
{
if
(
request
.
getRequestURI
().
indexOf
(
uri
)
!=
-
1
)
{
...
...
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 @
dec340ea
...
@@ -135,7 +135,7 @@ public class RegUnitInfoController extends BaseController {
...
@@ -135,7 +135,7 @@ public class RegUnitInfoController extends BaseController {
// @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
// @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@TycloudOperation
(
ApiLevel
=
UserType
.
ANONYMOUS
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/management-unit/tree"
)
@GetMapping
(
value
=
"/management-unit/tree"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"管辖机构树"
,
notes
=
"管辖机构树"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"管辖机构树"
,
notes
=
"管辖机构树"
)
public
ResponseModel
<
Collection
>
managementUnitTree
(
@RequestParam
(
required
=
false
)
String
orgCode
)
{
public
ResponseModel
<
Collection
>
managementUnitTree
(
@RequestParam
(
required
=
false
)
String
orgCode
)
{
...
...
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