1
dd
2025-10-26 490a9492607f14414c07f9eed97c7ffffc748703
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)
        );