记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
723f1ee6
Commit
723f1ee6
authored
Sep 28, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swagger 数据同步文档整理
parent
38a6373f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
RedisDataController.java
...rvice/sweet/controller/syncRedis/RedisDataController.java
+1
-1
UserDataController.java
...ervice/sweet/controller/syncRedis/UserDataController.java
+4
-4
No files found.
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/syncRedis/RedisDataController.java
View file @
723f1ee6
...
@@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.RestController;
...
@@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.RestController;
* @author jiangxiulong
* @author jiangxiulong
* @since 2021-08-12
* @since 2021-08-12
*/
*/
@Api
(
tags
=
"
redis数据迁移-jxl
"
)
@Api
(
tags
=
"
数据迁移
"
)
@RestController
@RestController
@RequestMapping
(
"sync"
)
@RequestMapping
(
"sync"
)
public
class
RedisDataController
{
public
class
RedisDataController
{
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/syncRedis/UserDataController.java
View file @
723f1ee6
...
@@ -25,7 +25,7 @@ import java.io.*;
...
@@ -25,7 +25,7 @@ import java.io.*;
* @author jiangxiulong
* @author jiangxiulong
* @since 2021-08-12
* @since 2021-08-12
*/
*/
@Api
(
tags
=
"
同步微信用户数据
"
)
@Api
(
tags
=
"
数据迁移
"
)
@RestController
@RestController
@RequestMapping
(
"/wechatSync"
)
@RequestMapping
(
"/wechatSync"
)
@Slf4j
@Slf4j
...
@@ -35,7 +35,7 @@ public class UserDataController {
...
@@ -35,7 +35,7 @@ public class UserDataController {
private
UserDataServiceImpl
userDataService
;
private
UserDataServiceImpl
userDataService
;
@GetMapping
(
"regMobile"
)
@GetMapping
(
"regMobile"
)
@ApiOperation
(
"注册"
)
@ApiOperation
(
"
外部手机号调用adam
注册"
)
public
void
regMobile
()
throws
IOException
{
public
void
regMobile
()
throws
IOException
{
String
filePath
=
"/Users/jiangxiulong/Desktop/keys2.txt"
;
String
filePath
=
"/Users/jiangxiulong/Desktop/keys2.txt"
;
String
encoding
=
"UTF-8"
;
String
encoding
=
"UTF-8"
;
...
@@ -66,7 +66,7 @@ public class UserDataController {
...
@@ -66,7 +66,7 @@ public class UserDataController {
}
}
@GetMapping
(
"users"
)
@GetMapping
(
"users"
)
@ApiOperation
(
"
关注
用户"
)
@ApiOperation
(
"
同步所有关注服务号
用户"
)
public
void
getUsers
()
{
public
void
getUsers
()
{
try
{
try
{
userDataService
.
userInfo
();
userDataService
.
userInfo
();
...
@@ -76,7 +76,7 @@ public class UserDataController {
...
@@ -76,7 +76,7 @@ public class UserDataController {
}
}
@GetMapping
(
"user"
)
@GetMapping
(
"user"
)
@ApiOperation
(
"
openid同步单个关注
用户"
)
@ApiOperation
(
"
以openid同步单个关注服务号的
用户"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"openId"
,
value
=
"openId"
,
required
=
true
)
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"openId"
,
value
=
"openId"
,
required
=
true
)
})
})
...
...
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