| | |
| | | import com.doumee.core.annotation.LoginRequired; |
| | | import com.doumee.core.annotation.trace.Trace; |
| | | import com.doumee.core.model.ApiResponse; |
| | | import com.doumee.core.wx.WxMiniUtilService; |
| | | import com.doumee.dao.business.model.Locks; |
| | | import com.doumee.dao.business.web.request.RegisterRequest; |
| | | import com.doumee.dao.business.web.request.WxPhoneRequest; |
| | | import com.doumee.dao.business.web.response.AccountResponse; |
| | |
| | | |
| | | @Autowired |
| | | private MemberService memberService; |
| | | |
| | | @Autowired |
| | | private WxMiniUtilService wxMiniUtilService; |
| | | |
| | | // @ApiOperation(value = "用户注册", notes = "小程序端") |
| | | // @PostMapping("/userRegister") |
| | |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | JwtPayLoad payLoad = new JwtPayLoad("d0a92489d26d43e182a1b8b75e1d9836"); |
| | | JwtPayLoad payLoad = new JwtPayLoad("07a9f07178864e57bf1fb34e7a321f08"); |
| | | System.out.println(JwtTokenUtil.generateToken(payLoad)); |
| | | } |
| | | |
| | |
| | | UserResponse userResponse = memberService.getUserInfo(getMemberId()); |
| | | return ApiResponse.success("查询成功",userResponse); |
| | | } |
| | | |
| | | |
| | | |
| | | } |