111
k94314517
2023-10-17 22a17c41a5c9b116ab83690eed1ec43817af9167
server/web/src/main/java/com/doumee/api/web/AccountApi.java
@@ -1,5 +1,7 @@
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;
@@ -64,6 +66,11 @@
    }
    public static void main(String[] args) {
        JwtPayLoad payLoad = new JwtPayLoad("07a9f07178864e57bf1fb34e7a321f08");
        System.out.println(JwtTokenUtil.generateToken(payLoad));
    }
    @LoginRequired
    @ApiOperation(value = "解析微信手机号", notes = "小程序端")
    @PostMapping("/wxPhone")