Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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
base_platform_enterprise
gic-platform-enterprise
Commits
7e4eb928
Commit
7e4eb928
authored
Mar 23, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加个受审项接口
parent
adc757d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
AuditLogController.java
...com/gic/enterprise/web/controller/AuditLogController.java
+10
-0
dubbo-gic-platform-enterprise-web.xml
.../src/main/resources/dubbo-gic-platform-enterprise-web.xml
+3
-2
No files found.
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/controller/AuditLogController.java
View file @
7e4eb928
...
...
@@ -8,9 +8,11 @@ import com.gic.commons.webapi.reponse.RestResponse;
import
com.gic.download.utils.log.LogUtils
;
import
com.gic.enterprise.ano.IgnoreLogin
;
import
com.gic.enterprise.dto.AuditLogDTO
;
import
com.gic.enterprise.dto.ProjectItemDTO
;
import
com.gic.enterprise.error.ErrorCode
;
import
com.gic.enterprise.qo.AuditLogQO
;
import
com.gic.enterprise.service.AuditLogApiService
;
import
com.gic.enterprise.service.ProjectItemApiService
;
import
com.gic.enterprise.utils.ResultControllerUtils
;
import
com.gic.enterprise.utils.UserDetailUtils
;
import
org.apache.commons.lang.StringUtils
;
...
...
@@ -32,6 +34,8 @@ public class AuditLogController {
private
AuditLogApiService
auditLogApiService
;
@Autowired
private
AuditorApiService
auditorApiService
;
@Autowired
private
ProjectItemApiService
projectItemApiService
;
@RequestMapping
(
"/audit"
)
@IgnoreLogin
...
...
@@ -87,4 +91,10 @@ public class AuditLogController {
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/project-item-info"
)
public
RestResponse
projectItemInfo
(
String
projectItemCode
)
{
ServiceResponse
<
ProjectItemDTO
>
serviceResponse
=
this
.
projectItemApiService
.
getByProjectItemCode
(
projectItemCode
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
}
gic-platform-enterprise-web/src/main/resources/dubbo-gic-platform-enterprise-web.xml
View file @
7e4eb928
...
...
@@ -109,4 +109,6 @@
<dubbo:reference
interface=
"com.gic.member.config.api.service.ServiceConfigApiService"
id=
"serviceConfigApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.open.api.service.market.MarketUserApiService"
id=
"marketUserApiService"
timeout=
"6000"
/>
</beans>
\ No newline at end of file
<dubbo:reference
interface=
"com.gic.enterprise.service.ProjectItemApiService"
id=
"projectItemApiService"
timeout=
"6000"
/>
</beans>
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