|
|
@@ -20,12 +20,8 @@ import thyyxxk.webserver.utils.ListUtil;
|
|
|
import thyyxxk.webserver.utils.ResultVoUtil;
|
|
|
import thyyxxk.webserver.utils.SnowFlakeId;
|
|
|
|
|
|
-import javax.servlet.http.HttpServletResponse;
|
|
|
import java.io.File;
|
|
|
-import java.io.FileInputStream;
|
|
|
import java.io.FilenameFilter;
|
|
|
-import java.io.IOException;
|
|
|
-import java.io.OutputStream;
|
|
|
import java.lang.reflect.InvocationTargetException;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Date;
|
|
|
@@ -237,5 +233,9 @@ public class PublicController {
|
|
|
return service.setUserConfigByCode(config);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ @PassToken
|
|
|
+ @GetMapping("/refreshUserInfo")
|
|
|
+ public ResultVo<String> refreshUserInfo(@RequestParam("code") String code) {
|
|
|
+ return service.refreshUserInfo(code);
|
|
|
+ }
|
|
|
}
|