Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
ab77f448
Commit
ab77f448
authored
Jan 28, 2022
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:测试接口
parent
d0331da7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
TestApiService.java
...ava/com/gic/haoban/manage/api/service/TestApiService.java
+9
-0
TestServiceImpl.java
...oban/manage/service/service/out/impl/TestServiceImpl.java
+7
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/TestApiService.java
View file @
ab77f448
package
com
.
gic
.
haoban
.
manage
.
api
.
service
;
import
com.gic.api.base.commons.ServiceResponse
;
/**
* Created by tgs on 2020/2/9.
*/
...
...
@@ -32,4 +34,11 @@ public interface TestApiService {
* @param cron
*/
public
void
quartzTaskConvert
(
String
serviceName
,
String
methodName
,
String
cron
,
String
params
);
/**
* 拉取所有部门企业微信通讯录
* @return
*/
public
ServiceResponse
listAllQywxUser
(
String
params
);
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/TestServiceImpl.java
View file @
ab77f448
...
...
@@ -2,6 +2,7 @@ package com.gic.haoban.manage.service.service.out.impl;
import
java.util.List
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.haoban.manage.api.dto.SecretSettingDTO
;
import
com.gic.haoban.manage.api.dto.WxEnterpriseDTO
;
import
com.gic.haoban.manage.api.enums.SecretTypeEnum
;
...
...
@@ -96,4 +97,10 @@ public class TestServiceImpl implements TestApiService {
quartzService
.
addOrUpdateQuartzTask
(
taskDTO
);
}
@Override
public
ServiceResponse
listAllQywxUser
(
String
params
)
{
logger
.
info
(
"JSONOnkec:"
+
params
);
return
ServiceResponse
.
success
(
params
);
}
}
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