记得上下班打卡 | git大法好,push需谨慎

Commit 530ca5c5 authored by jiangxiulong's avatar jiangxiulong

同步关注用户

parent 581d7320
......@@ -81,11 +81,12 @@ public class UserDataController {
@GetMapping("user")
@ApiOperation("以openid同步单个关注服务号的用户")
@ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "openId", value = "openId", required = true)
@ApiImplicitParam(type = "query", dataType = "String", name = "openId", value = "openId", required = true),
@ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "type 1正在 2摩登", required = true)
})
public void getUser(@RequestParam() String openId) {
public void getUser(@RequestParam() String openId, @RequestParam() Integer type) {
try {
userDataService.getUser(openId);
userDataService.getUser(openId, type);
} catch (Exception e) {
log.error("getUser", e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment