Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tagManager
Overview
Overview
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
lanmw
tagManager
Commits
4bd4b77c
Commit
4bd4b77c
authored
Jan 13, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调用远程auth服务orgid类型改成long
parent
58d94a9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
AuthServiceClient.java
...va/com/keymobile/tagmanager/remote/AuthServiceClient.java
+1
-1
TagService.java
...ain/java/com/keymobile/tagmanager/service/TagService.java
+1
-1
No files found.
src/main/java/com/keymobile/tagmanager/remote/AuthServiceClient.java
View file @
4bd4b77c
...
...
@@ -10,7 +10,7 @@ import com.keymobile.tagmanager.model.authService.Org;
@FeignClient
(
name
=
"authService"
)
public
interface
AuthServiceClient
{
@GetMapping
(
value
=
"/orgs/{orgId}"
)
public
Org
getOrgs
(
@PathVariable
(
"orgId"
)
Stri
ng
orgId
);
public
Org
getOrgs
(
@PathVariable
(
"orgId"
)
Lo
ng
orgId
);
@GetMapping
(
value
=
"/orgs/findByFullName"
)
public
Org
findByFullName
(
@RequestParam
(
"orgFullName"
)
String
orgFullName
);
...
...
src/main/java/com/keymobile/tagmanager/service/TagService.java
View file @
4bd4b77c
...
...
@@ -194,7 +194,7 @@ public class TagService {
//根据用户所属机构id获取对应的公司机构id
public
String
getCompanyOrgIdByUserOrgId
(
String
dept
)
throws
TagNotExistException
{
//根据用户机构id获取机构信息
Org
org
=
authService
.
getOrgs
(
dept
);
Org
org
=
authService
.
getOrgs
(
Long
.
valueOf
(
dept
)
);
if
(
org
==
null
)
{
throw
new
TagNotExistException
(
"get org by id error;"
);
}
...
...
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