Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dm_project
Project
Project
Details
Activity
Releases
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
姚本章
dm_project
Commits
5c5853ba
Commit
5c5853ba
authored
Feb 20, 2021
by
zhangc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
d1e3e360
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
ApiInterface.java
...y/src/main/java/com/jz/dm/models/domian/ApiInterface.java
+6
-0
ApiInterfaceServiceImpl.java
.../java/com/jz/dm/service/impl/ApiInterfaceServiceImpl.java
+0
-2
ApiInterfaceMapper.xml
...igateway/src/main/resources/mapper/ApiInterfaceMapper.xml
+2
-1
No files found.
jz-dm-apigateway/src/main/java/com/jz/dm/models/domian/ApiInterface.java
View file @
5c5853ba
...
...
@@ -164,6 +164,12 @@ public class ApiInterface extends BaseObject implements Serializable {
@TableField
(
exist
=
false
)
private
Integer
pageRow
;
/**
* 最大数据量
*/
@TableField
(
exist
=
false
)
private
Integer
maxData
;
/*---------------------------------日志查询--------------------------------*/
/**
* 日志id
...
...
jz-dm-apigateway/src/main/java/com/jz/dm/service/impl/ApiInterfaceServiceImpl.java
View file @
5c5853ba
...
...
@@ -243,7 +243,6 @@ public class ApiInterfaceServiceImpl implements ApiInterfaceService {
/**
* 获取单次调用有效授权
*
* @param apiId
* @param modeType
* @param date
...
...
@@ -277,7 +276,6 @@ public class ApiInterfaceServiceImpl implements ApiInterfaceService {
return
authCall
+
authDateCall
;
}
/**
* 获取api自定义信息
*
...
...
jz-dm-apigateway/src/main/resources/mapper/ApiInterfaceMapper.xml
View file @
5c5853ba
...
...
@@ -33,7 +33,8 @@
aic.response_param AS responseParam,
aic.max_row AS maxRow,
aic.page_row AS pageRow,
aic.resp_code AS respCode
aic.resp_code AS respCode,
floor(aic.max_row/aic.page_row) AS maxData
FROM t_api_interface AS ai
LEFT JOIN t_api_interface_custom AS aic ON ai.id = aic.api_interface_id AND aic.is_deleted =0
WHERE
...
...
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