1
dd
2025-10-27 11ffae1ecbe3d26863fd51262d7ffb043eb089da
ruoyi-admin/src/main/java/com/ruoyi/web/controller/product/UserKycController.java
@@ -228,7 +228,10 @@
     */
    @GetMapping("/getAccountPassword")
    @Transactional
    public AjaxResult getAccountPassword(@RequestParam(value = "account") String account) {
    public AjaxResult getAccountPassword(@RequestParam(value = "account",required = false) String account) {
        if(ObjectUtil.isEmpty(account)){
            return AjaxResult.error("请输入查询账号!");
        }
        UserAccount userAccount = userAccountService.getOne(new LambdaQueryWrapper<>(UserAccount.class)
                .eq(UserAccount::getAccount, account)
        );