|  |  |  | 
|---|
|  |  |  | 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("d0a92489d26d43e182a1b8b75e1d9836"); | 
|---|
|  |  |  | System.out.println(JwtTokenUtil.generateToken(payLoad)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @LoginRequired | 
|---|
|  |  |  | @ApiOperation(value = "解析微信手机号", notes = "小程序端") | 
|---|
|  |  |  | @PostMapping("/wxPhone") | 
|---|