feat: 获取分享列表接口
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package com.schisandra.auth.api;
|
||||
|
||||
import com.schisandra.auth.entity.Result;
|
||||
import com.schisandra.auth.entity.SchisandraAuthUserDTO;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
@@ -9,4 +11,7 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
public interface SchisandraAuthFeignService {
|
||||
@PostMapping("/auth/user/wechatRegister")
|
||||
Boolean wechatRegister(@RequestParam(name = "appId") String appId, @RequestParam(name = "openId") String openId, @RequestParam("clientId") String clientId);
|
||||
|
||||
@GetMapping("/auth/user/getUserInfo")
|
||||
Result<SchisandraAuthUserDTO> getUserInfo(@RequestParam("userId") Long userId);
|
||||
}
|
||||
|
@@ -0,0 +1,131 @@
|
||||
package com.schisandra.auth.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* dto
|
||||
*
|
||||
* @author landaiqing
|
||||
* @since 2024-05-23 20:00:28
|
||||
*/
|
||||
@Data
|
||||
public class SchisandraAuthUserDTO implements Serializable {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Long id;
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 昵称
|
||||
*/
|
||||
private String nickName;
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
private String gender;
|
||||
|
||||
/**
|
||||
* 头像
|
||||
*/
|
||||
private String avatar;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 介绍
|
||||
*/
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* 扩展字段
|
||||
*/
|
||||
private String extJson;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createdBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createdTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 博客
|
||||
*/
|
||||
private String blog;
|
||||
|
||||
/**
|
||||
* 城市
|
||||
*/
|
||||
private String location;
|
||||
|
||||
/**
|
||||
* 公司
|
||||
*/
|
||||
private String company;
|
||||
|
||||
/**
|
||||
* 激活码
|
||||
*/
|
||||
private String activeCode;
|
||||
/**
|
||||
* 确认密码
|
||||
*/
|
||||
private String confirmPassword;
|
||||
|
||||
/**
|
||||
* 旋转图片验证token
|
||||
*/
|
||||
private String token;
|
||||
|
||||
/**
|
||||
* 旋转图片验证的旋转角度
|
||||
*/
|
||||
private Double deg;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user