|
|
@@ -295,6 +295,7 @@ public class AccountController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping(value = "/read", params = "username")
|
|
|
+ @IgnoreAuth
|
|
|
public Result<AccountDTO> getAccount(@RequestParam(value = "username") String username) {
|
|
|
Account account = getAccountByUsername(username);
|
|
|
if (null == account) {
|
|
|
@@ -311,6 +312,7 @@ public class AccountController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping(value = "/read", params = "uu")
|
|
|
+ @IgnoreAuth
|
|
|
public Result<AccountDTO> getAccountByUu(@RequestParam(value = "uu") Long uu) {
|
|
|
Account account = accountService.findByUu(uu);
|
|
|
if (null == account) {
|
|
|
@@ -342,6 +344,7 @@ public class AccountController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/read/{id}")
|
|
|
+ @IgnoreAuth
|
|
|
public Result<AccountDTO> getAccountById(@PathVariable Long id) {
|
|
|
Account account = accountService.findByPrimaryKey(id);
|
|
|
if (null == account) {
|