| | |
| | | package com.doumee.api.web; |
| | | |
| | | import com.doumee.core.Jwt.JwtPayLoad; |
| | | import com.doumee.core.Jwt.JwtTokenUtil; |
| | | import com.doumee.core.annotation.LoginRequired; |
| | | import com.doumee.core.annotation.trace.Trace; |
| | | import com.doumee.core.model.ApiResponse; |
| | |
| | | } |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | JwtPayLoad payLoad = new JwtPayLoad("07a9f07178864e57bf1fb34e7a321f08"); |
| | | System.out.println(JwtTokenUtil.generateToken(payLoad)); |
| | | } |
| | | |
| | | @LoginRequired |
| | | @ApiOperation(value = "解析微信手机号", notes = "小程序端") |
| | | @PostMapping("/wxPhone") |